pac_compare_namespace: Compare NAMESPACE exports between specific CRAN packages...

View source: R/comapre.R

pac_compare_namespaceR Documentation

Compare NAMESPACE exports between specific CRAN packages versions

Description

using the remote github CRAN mirror to compare NAMESPACE exports between specific packages versions.

Usage

pac_compare_namespace(
  pac,
  old = NULL,
  new = NULL,
  lib.loc = .libPaths(),
  repos = "https://cran.rstudio.com/"
)

Arguments

pac

character a package name.

old

character an old version of package.

new

character a new version of package.

lib.loc

character vector. Default:

repos

character vector URLs of the repositories to use. Used only for the validation. Default https://cran.rstudio.com/

Value

list with c("imports", "exports", "exportPatterns", "importClasses", "importMethods", "exportClasses", "exportMethods", "exportClassPatterns", "dynlibs", "S3methods") slots, and added and removed ones for each of them.

Examples

## Not run: 
pacs::pac_compare_namespace("shiny", "1.0.0", "1.6.0")
pacs::pac_compare_namespace("shiny", "1.0.0", "1.6.0")$exports
# local version to newest one
pacs::pac_compare_namespace("shiny")

## End(Not run)

pacs documentation built on May 11, 2022, 1:09 a.m.