check.patch.versions {mvbutils} | R Documentation |
Check consistency of maintained package versions
Description
Utility to compare version numbers of the different "instances" of one of your maintained packages. Only the most up-to-date folders relevant to the running R version are checked; see mvbutils.packaging.tools
.
The "instances" checked are:
the task package itself (in eg
..mypack$mypack.VERSION
)the source package created by
pre.install
the installed package, maintained by
patch.install
the tarball package, created by
build.pkg
the binary package, created by
build.pkg.binary
The care
argument controls what's shown. Mismatches when care="installed"
should be addressed by patch.install
, because something has gotten out-of-synch (probably when maintaining the same version of a package for different R versions). Mismatches with the built ("tarball" and "binary") packages are not necessarily a problem, just an indication of work-in-progress.
Usage
check.patch.versions(care = NULL)
Arguments
care |
if non-NULL, a character vector with elements in the set "installed", "source", "tarball", and "binary". Only packages where there's a version mismatch between these fields and the task package version will be shown. |
Value
A character matrix with maintained packages as rows, and the different instances as columns. "NA" indicates that a version couldn't be found.