pkgSnapshot, meaning that a new system can be built with exact versions and SHAs of GitHub packages.
options("Require.RPackageCache" = "someLocalDir")is set to a local folder. Currently defaults to NULL, meaning no local cache.
pkgSnapshotcan now understand and work with GitHub SHAs and thus packages installed from GitHub, e.g.,
Require("PredictiveEcology/Require@development")will install the development version. When using
pkgSnapshot, the exact SHA will be used to restore that package at the exact version with
Require(packageVersionFile = "packageVersions.txt").
setLibPaths, it is possible to create a version conflict.
base::requirewill error if the version in the
.libPaths()is older than the version whose namespace is already loaded. To accommodate this, there is a check for this error, and if the newer version (that is already loaded) does not violate the
Require('package (versionSpecification)'), then it will install the newer version. If it does violate the version specification, it will error cleanly with a message describing the possible solutions.
detachAllthat attempts to detach and unload packages and all their dependencies, in reverse topological order.
pkgDepAltwhich is an alternative to
pkgDep, yet easier to maintain and still experimental. It is not yet the workhorse inside
Require, but it may become that.
Error: invalid version specification ' 3.3-13'
chooseCRANmirror(ind = 1)
pkgDepdid not correctly resolve multiple instances of the same package, each with different minimum version numbering. Now it reports minimum version required for all package dependencies.
base::available.packagesfor old Mac machines and R versions
Require(and helpers) which will be removed from package
Requireis run, the result will be the same