This function will find a maven dependency in your local maven repository. Note that if the dependency has not yet been downloaded (e.g., via download_dependency) then the return value will be NULL.

find_dependency_path(dep, group, version, mvn = find_mvn(), java_home,
  quiet = FALSE)

find_dependency_jar(dep, group, version, mvn = find_mvn(), java_home,
  quiet = FALSE)

Arguments

dep

Character. The dependency name. This could be the entire name (e.g., group:dependency:version) in which case the other inputs may be omitted. Otherwise it can be just the dependency name (i.e., the part in the middle of the above example).

group

Character. The maven artifact group name.

version

Character. The desired version of the dependency.

mvn

Character. The path the the maven installation.

java_home

Character. Path to java. If not provided the standard install paths (platform dependent) will be checked.

quiet

Logical. If TRUE warnings about missing dependencies will be suppressed.

See also

download_dependency