print.pcache: Print a Package Cache Object

View source: R/pkgInfo.R

print.pcacheR Documentation

Print a Package Cache Object

Description

Print routine for a package cache object of class "pcache".

Usage

## S3 method for class 'pcache'
print(x, ...)

Arguments

x

The package cache to print.

...

Follow-on parameters to the print function.

Value

The package cache object, invisibly.

See Also

Other pdiff: pkg_cache(), pkg_diff(), pkg_info(), pkg_stability(), pkg_versions(), print.pdiff(), print.pdiff_score(), print.pinfo()

Examples

# 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

pkgdiff documentation built on Dec. 17, 2025, 1:06 a.m.