I'm trying to install this removed package in R, but I cannot. Any idea?
https://cran.r-project.org/web/packages/JohnsonDistribution/index.html
The code that I used is the next:
install.packages("~/R/win-library/3.5/johnson.zip", repos = NULL, type = "source")
And the error:
Warning in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open compressed file 'johnson/DESCRIPTION', probable reason 'No such file or directory'Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) : no se puede abrir la conexión
In R CMD INSTALL
Warning in install.packages :
installation of package ‘C:/Users/Angel/Documents/R/win-library/3.5/johnson.zip’ had non-zero exit status
Thanks,
PD: I not asking how I can install in other way, I'm asking how I can install this specific package that gives me an error