print.prepo | R Documentation |
Print routine for a package repo object of class "prepo".
## S3 method for class 'prepo'
print(x, ...)
x |
The package repo to print. |
... |
Follow-on parameters to the print function. |
The package repo object, invisibly.
Other prepo:
pkg_repo()
,
print.rbreak()
,
print.rstability()
,
repo_breakages()
,
repo_stability()
# Create vector of packages
pkgs <- c("tidymodels", "rsample", "parsnip", "recipes", "workflows")
# Retrieve latest versions
res <- pkg_repo(pkgs, ver = "latest")
# Print results
print(res)
# # A package repo object
# - Repo Version: latest
# - Packages:
# Package Version
# 1 parsnip 1.3.0
# 2 recipes 1.1.1
# 3 rsample 1.2.1
# 4 tidymodels 1.3.0
# 5 workflows 1.2.0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.