ropensci / wateRinfo

R package to download time series data from waterinfo.be
https://docs.ropensci.org/wateRinfo
MIT License
14 stars 3 forks source link

error while installing #20

Closed stijnvanhoey closed 6 years ago

stijnvanhoey commented 6 years ago

Following error message occurred when installing the wateRinfo package:

Installing 1 package: openssl
Installing package into ‘C:/Users/meiredk/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/openssl_1.0.zip'
Content type 'application/zip' length 3572638 bytes (3.4 MB)
downloaded 3.4 MB

package ‘openssl’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘openssl’

The downloaded binary packages are in
    C:\Users\meiredk\AppData\Local\Temp\RtmpOOOOhf\downloaded_packages
Installing 1 package: rlang
Installing package into ‘C:/Users/meiredk/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/rlang_0.2.0.zip'
Content type 'application/zip' length 818670 bytes (799 KB)
downloaded 799 KB

package ‘rlang’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\meiredk\AppData\Local\Temp\RtmpOOOOhf\downloaded_packages
"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore  \
  --quiet CMD INSTALL  \
  "C:/Users/meiredk/AppData/Local/Temp/RtmpOOOOhf/devtools35c85d432df/inbo-wateRinfo-02fd611"  \
  --library="C:/Users/meiredk/Documents/R/win-library/3.4" --install-tests 

ERROR: dependency 'openssl' is not available for package 'wateRinfo'
* removing 'C:/Users/meiredk/Documents/R/win-library/3.4/wateRinfo'
In R CMD INSTALL
Installation failed: Command failed (1)

after a manual installation of openssl:

install.packages('openssl')

the installation of the package was successfull.

session info:

> sessionInfo()
R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

Matrix products: default

locale:
[1] LC_COLLATE=Dutch_Belgium.1252  LC_CTYPE=Dutch_Belgium.1252   
[3] LC_MONETARY=Dutch_Belgium.1252 LC_NUMERIC=C                  
[5] LC_TIME=Dutch_Belgium.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base