makeDependencyRelative(dependency, basepath, mustWork = TRUE)dependency should be
made relative to.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 relative path.If baspath did not appear to be a parent directory of the dependency's
directory, an error is raised (regardless of the value of mustWork).
copyDependencyToDir