Description Usage Arguments Details Value Author(s) Examples
View source: R/runi_packages.R
List all packages available in an R-universe.
1  | runi_packages(universe, package = NULL, version = NULL)
 | 
universe | 
 A length one character. User or organization name of the the R-universe owner.  | 
package | 
 either   | 
version | 
 either   | 
This function gives access to three types of information, depending
on how many arguments are different from NULL:
runi_packages(universe) lists all packages in the R-universe
universe.
runi_packages(universe, package), where package is a
string, lists all available version for package package in
this universe.
runi_packages(universe, package, version) lists all available
builds for package package of version version
(specified as a string).
The argument version is ignored if package is NULL.
a tibble if both package and
version are not NULL, a character vector otherwise.
Valerio Gherardi
1 2 3  | ( packages <- runi_packages("vgherard") )
( versions <- runi_packages("vgherard", packages[[1]]) )
( versions <- runi_packages("vgherard", packages[[1]], versions[[1]]) )
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.