The easiest way to create a package from the archive is to use devtools:
library(devtools) install_url("http://cran.r-project.org/src/contrib/Archive/uroot/uroot_1.4.tar.gz")
There are three problems:
You need to have a development environment. In windows, this means you need Rtools; on mac, xcode command line tools; and on linux corresponding development packages
There is currently a bug in devtools, which means that it cannot find the correct version of Rtools for windows. The fix is ββon the way to CRAN.
As a rule, itβs a good reason that the package was archived: it probably will not pass the R CMD check in the current version of R, so even after you install it, work correctly. Be careful!
source share