View source: R/package_version_management.R
lib.decide_version | R Documentation |
Obtains the correct version based on the version instruction provided (e.g. >= 0.5
). It will print which version is chosen if 'verbose = TRUE'.
if no compatible version is found between the available versions, the function 'chooseVersion' will return an error to notify you.
lib.decide_version( packVersion, lib_location, pick.last = FALSE, print_version_choice = TRUE, warn_for_major_diff = TRUE )
packVersion |
A named character vector with package names and their version indication (e.g. |
lib_location |
The location of the R_MV_library folder. |
pick.last |
If a version like |
print_version_choice |
if true, it will print the choices it made. |
warn_for_major_diff |
If true, the default, will return warnings if the loaded package is a major release higher then the package that was requested. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.