| print.pcache | R Documentation |
Print routine for a package cache object of class "pcache".
## S3 method for class 'pcache'
print(x, ...)
x |
The package cache to print. |
... |
Follow-on parameters to the print function. |
The package cache object, invisibly.
Other pdiff:
pkg_cache(),
pkg_diff(),
pkg_info(),
pkg_stability(),
pkg_versions(),
print.pdiff(),
print.pdiff_score(),
print.pinfo()
# Create vector of packages
pkgs <- c("ggplot2", "patchwork", "gt")
# Capture cache versions
res <- pkg_cache(pkgs)
# Print cache versions
print(res)
# # A package cache object
# - Last Update: 2025-03-01 20:51 UTC
# - Packages:
# Package Version
# 1 ggplot2 3.5.1
# 2 patchwork 1.3.0
# 3 gt 0.11.1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.