print.prepo: Print a Package Repo Object

View source: R/pkgrepo.R

print.prepoR Documentation

Print a Package Repo Object

Description

Print routine for a package repo object of class "prepo".

Usage

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

Arguments

x

The package repo to print.

...

Follow-on parameters to the print function.

Value

The package repo object, invisibly.

See Also

Other prepo: pkg_repo(), print.rbreak(), print.rstability(), repo_breakages(), repo_stability()

Examples

# 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

pkgdiff documentation built on Aug. 8, 2025, 7:44 p.m.