NEWS.md
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.Require
and pkgSnapshot
can 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::require
will 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.detachAll
that attempts to detach and unload packages and all their dependencies, in reverse topological order.pkgDep
and pkgDepTopoSort
pkgDepAlt
which 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)
reproducible
to Require
, including pkgDep
, pkgDepTopoSort
.pkgDep
did 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.packages
for old Mac machines and R versionsRequire
(and helpers) which will be removed from package reproducible
Require
is run, the result will be the same