options(htmltools.dir.version =
FALSE) to suppress the version number in the subdirectory name.
copyDependencyToDir(dependency, outputDir, mustWork = TRUE)TRUE and dependency does not point to a
directory on disk (but rather a URL location), an error is raised. If
FALSE then non-disk dependencies are returned without modification.src value updated to the new
location's absolute path.
makeDependencyRelative can be used with the returned
value to make the path relative to a specific directory.