‘versions’ package on CRAN relies on Revolution Analytics MRAN server to install packages for specific versions without the need to install Rtools for installing binary packages but this will work going back to date when MRAN was released, that is near to. Hence, Rtools is required to build and compile libraries. CRAN archives the package sources and not the binaries which we need to install. By default, R for Windows installs the precompiled “binary packages” from CRAN. This function may not work due to the lack of an appropriate toolchain for building/compiling packages. This function installs the package at the location lib specified by the user. Remotes::install_version(package, version= version number, lib =location) So a user may want to install an outdated version for a particular function and then revert to an existing library. Some functions may be deprecated, classes removed, parameters of functions altered which can be troublesome for existing users working with earlier versions. Sometimes there can be drastic changes in the latest version of the software which makes the user revert to the previous versions. It returns information about all the packages installed like the version, the path of installation, dependencies on the version of R, other imports needed by the package.
0 Comments
Leave a Reply. |