View source: R/helper_functions.R
lib.packs_str2vec | R Documentation |
Parses a string shaped like:
assertthat (>= 0.1), R6 (>= 2.1.2), Rcpp (>= 0.12.3), tibble (>= 1.2), magrittr (>= 1.5), lazyeval (>= 0.2.0), DBI (>= 0.4.1)
to match the normal package name/version layout like:
assertthat R6 Rcpp tibble magrittr lazyeval DBI
">= 0.1" ">= 2.1.2" ">= 0.12.3" ">= 1.2" ">= 1.5" ">= 0.2.0" ">= 0.4.1"
Used by lib.dependencies_online
to interpret the by CRAN provided dependencies,
used to parse the 'vc_override_dependencies.txt' files and the dependencies mentioned in the 'DESCRIPTION' files of the installed packages.
lib.packs_str2vec(deps)
deps |
A string of length one with the format shown in the description. This will be converted to a named character vector. |
Returns a character vector with the packages and their versions that it could derive from the single provided string.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.