View source: R/VC_library_writing.R
lib.dependsOnMe | R Documentation |
Can be called without using quotes like lib.dependsOnMe(dplyr)
.
It supports the special feature lib.dependsOnMe(all)
,
which will print a list of all packages available with their dependencies.
A simple wrapper "lib.installed_packages
", will do precisely that.
lib.dependsOnMe( ..., checkMyDeps = NULL, lib_location = lib.location(), dont_print = FALSE )
... |
All packages and their versions you would like to check e.g.
|
checkMyDeps |
Supports providing a named character vector of packages and their versions instead of the direct input. Use it like this when calling it via another function. |
lib_location |
The folder containing a structure where this function
observe the dependencies from. By default, it checks the environment
variable |
dont_print |
When true, will not print anything, but will expect you to make use of the invisibly returned package character vector. |
It returns a special character array with package:version names for every
package that has a dependency on the provided checkMyDeps
or
...
condition.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.