p_version: Package Version

Description Usage Arguments See Also Examples

View source: R/p_version.R

Description

p_version - Determine what version a package is in your library.

p_version_cran - Determine what version a package is on CRAN.

p_version_difference - Determine version difference between a local package and CRAN.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
p_version(package = "R")

p_ver(package = "R")

p_version_cran(package = "R")

p_ver_cran(package = "R")

p_version_diff(package = "R")

p_ver_diff(package = "R")

Arguments

package

Name of package (default returns R version).

See Also

packageDescription

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
p_ver()
p_version()
p_ver(pacman)
p_version(pacman)

p_ver_cran()
p_ver_cran(pacman)

## Compare local to CRAN version
p_ver(pacman) == p_ver_cran(pacman)
p_ver(pacman) > p_ver_cran(pacman)

p_ver_diff()
p_ver_diff(pacman)

## End(Not run)

pacman documentation built on May 2, 2019, 1:08 p.m.