harrelfe / rmsb

Regression Modeling Strategies Bayesian
16 stars 2 forks source link

Unable to install rmsb #1

Closed albertocarm closed 4 years ago

albertocarm commented 4 years ago

I have problems to install the package with this error:

> install.packages("C:/Users/Alberto/Desktop/caterina/rmsb_current.zip", repos = NULL, type = "win.binary")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Alberto/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
  cannot open compressed file 'rmsb_current/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : no se puede abrir la conexión

I can install it when I change the name by removing _current But then I obtain:


> install.packages("C:/Users/Alberto/Desktop/caterina/rmsb.zip", repos = NULL, type = "win.binary")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/Alberto/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
package ‘rmsb’ successfully unpacked and MD5 sums checked
> library(rmsb)
Error: package or namespace load failed for ‘rmsb’ in inDL(x, as.logical(local), as.logical(now), ...):
 unable to load shared object 'C:/Users/Alberto/Documents/R/win-library/3.6/rmsb/libs/x64/rmsb.dll':
  LoadLibrary failure:  No se puede encontrar el módulo especificado.
Además: Warning message:
package ‘rmsb’ was built under R version 4.1.0 

Please help !

albertocarm commented 4 years ago

Fixed installing Rtools and changing rmsb_current by rmsb