cont-limno / LAGOSNE

Interface to the LAke multi-scaled GeOSpatial & temporal database :earth_americas:
https://cont-limno.github.io/LAGOSNE/
15 stars 8 forks source link

lagos_compile fails #12

Closed limnoliver closed 8 years ago

limnoliver commented 8 years ago

LAGOS:::lagos_compile(version = "1.054.1", format = "rds")

fails with error message: Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In gzfile(file, mode) : cannot open compressed file 'C:\Users\Samantha\AppData\Local\LAGOS\LAGOS/data_1.054.1.rds', probable reason 'No such file or directory'

R version 3.3.1 (2016-06-21) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1

sessionInfo() locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

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

other attached packages: [1] LAGOS_1.054.1

loaded via a namespace (and not attached): [1] lazyeval_0.2.0 magrittr_1.5 R6_2.1.2 assertthat_0.1 rsconnect_0.4.3 [6] DBI_0.5-12 tools_3.3.1 dplyr_0.5.0 rappdirs_0.3.1 tibble_1.1
[11] Rcpp_0.12.7

rappdirs::user_data_dir("LAGOS")

"C:\Users\Samantha\AppData\Local\LAGOS\LAGOS"

jsta commented 8 years ago

@limnoliver Can you re-pull the repo and try again? If it still doesn't work can you confirm that the folder C:\Users\Samantha\AppData\Local\LAGOS\ exists in your file system?

limnoliver commented 8 years ago

@jsta pulled and tried again. Didn't work, and no, the LAGOS folder does not exist in AppData/Local

jsta commented 8 years ago

Ok, I was able to reproduce the error on Nick's machine and think I fixed it. There were some Windows specific arguments to the rappdirs functions. Try re-pulling...

limnoliver commented 8 years ago

Success!