packageurl <- "https://cran.r-project.org/src/contrib/Archive/DescTools/DescTools_0.99.51.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
Resultou em:
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning message in download.file(p, destfile, method, mode = "wb", ...):
“URL 'https://cran.r-project.org/src/contrib/Archive/DescTools/DescTools_0.99.51.tar.gz': status was 'Couldn't resolve host name'”
Error in download.file(p, destfile, method, mode = "wb", ...) :
cannot open URL 'https://cran.r-project.org/src/contrib/Archive/DescTools/DescTools_0.99.51.tar.gz'
Tentei anteriomente com https://cran.r-project.org/src/contrib/Archive/DescTools/DescTools_0.99.30.tar.gz
, mas deu o mesmo erro.