Hi,
I am trying to install package stars direclty from github (using remotes::install_github("r-spatial/stars")), because one command is not working as it should be if I use stars normally installed using RStudio.
Unfortunatelly I am not able to do it. The error message:
> remotes::install_github("r-spatial/stars")
Downloading GitHub repo r-spatial/stars@master
Installing 1 packages: sf
There is a binary version available but the source version is later:
binary source needs_compilation
sf 0.8-1 0.9-0 TRUE
Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/sf_0.8-1.zip'
Content type 'application/zip' length 39626867 bytes (37.8 MB)
downloaded 37.8 MB
package ‘sf’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\Katrička\AppData\Local\Temp\RtmpmChuKV\downloaded_packages
√ checking for file 'C:\Users\Katrička\AppData\Local\Temp\RtmpmChuKV\remotes1930272ff1\r-spatial-stars-e26ceb8/DESCRIPTION' (1.2s)
- preparing 'stars': (1.9s)
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts (476ms)
- checking for empty or unneeded directories
- building 'stars_0.4-1.tar.gz'
* installing *source* package 'stars' ...
** using staged installation
** R
** demo
** inst
** byte-compile and prepare package for lazy loading
Error: package 'sf' 0.8.1 was found, but >= 0.9.0 is required by 'stars'
Execution halted
ERROR: lazy loading failed for package 'stars'
* removing 'C:/Program Files/R/R-3.6.3/library/stars'
Warning message:
In i.p(...) :
installation of package ‘C:/Users/KATRIK~1/AppData/Local/Temp/RtmpmChuKV/file19307918447d/stars_0.4-1.tar.gz’ had non-zero exit status
I think problem is with package stars. Version 0.9.0 is required by 'stars', but it is not able to install it.
Can someone help me with this issue?