Closed mariaemilyd closed 3 years ago
Hi, the install works fine on my mac. It might be an issue with RTools on your windows machine. Can you build other packages form source? Have you added Rtools to the PATH? Check your .libPaths() too. Running R in a directory that is on a server, or with libraries on a server can cause issues with building packages too.
Hi, my .libPaths() seemed to be fine, and rtools was in my path. I solved the problem somehow by uninstalling my raster package, updating some other packages, and installing the latest version of R. Sorry for raising the issue when it was a problem my end! Thanks for your help.
Hi,
I just want to say thanks for making an important package - I have done velocity calculations before but looking forward to trying it using a package, it will save a lot of time and potential for errors on my part!
I'm having issues installing the package though, where there is an error message relating to raster package. I have raster v 3.4-5. This error message comes up when I do dependencies = FALSE as well. Can you take a look? Thanks
Installing package into �C:/Users/sjoh3862/Documents/R/win-library/4.0� (as �lib� is unspecified)
Other session info: sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 14393)
Matrix products: default
locale: [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] Rcpp_1.0.5 compiler_4.0.2 prettyunits_1.1.1 remotes_2.2.0 tools_4.0.2 testthat_2.3.2
[7] digest_0.6.25 pkgbuild_1.1.0 pkgload_1.1.0 memoise_1.1.0 evaluate_0.14 lattice_0.20-41
[13] rlang_0.4.7 cli_2.0.2 rstudioapi_0.11 curl_4.3 yaml_2.2.1 xfun_0.16
[19] raster_3.4-5 withr_2.2.0 knitr_1.29 desc_1.2.0 fs_1.5.0 devtools_2.3.2
[25] rprojroot_1.3-2 grid_4.0.2 glue_1.4.1 R6_2.4.1 processx_3.4.5 fansi_0.4.1
[31] rmarkdown_2.3 sessioninfo_1.1.1 sp_1.4-2 callr_3.5.1 magrittr_1.5 codetools_0.2-16 [37] backports_1.1.7 ps_1.3.4 ellipsis_0.3.1 htmltools_0.5.0 usethis_1.6.3 assertthat_0.2.1 [43] tinytex_0.25 crayon_1.3.4
I tried it out on R4.0.0 on my university's linux cluster and it installed okay there: not sure why as it has the same version of raster installed.
Session info for that:
R version 4.0.0 (2020-04-24) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 16.04.7 LTS
Matrix products: default BLAS: /usr/local/lib/R/4.0.0/lib/R/lib/libRblas.so LAPACK: /usr/local/lib/R/4.0.0/lib/R/lib/libRlapack.so
locale: [1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C [3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8 [5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8 [7] LC_PAPER=en_GB.UTF-8 LC_NAME=C [9] LC_ADDRESS=C LC_TELEPHONE=C [11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages: [1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached): [1] ps_1.4.0 fansi_0.4.1 prettyunits_1.1.1 rprojroot_1.3-2 [5] withr_2.3.0 digest_0.6.27 crayon_1.3.4 assertthat_0.2.1 [9] R6_2.4.1 backports_1.1.10 magrittr_2.0.1 rlang_0.4.10 [13] cli_2.1.0 curl_4.3 fs_1.5.0 remotes_2.2.0 [17] testthat_2.3.2 callr_3.5.1 ellipsis_0.3.1 desc_1.2.0 [21] devtools_2.3.2 tools_4.0.0 glue_1.4.2 pkgload_1.1.0 [25] compiler_4.0.0 processx_3.4.4 pkgbuild_1.1.0 sessioninfo_1.1.1 [29] memoise_1.1.0 usethis_1.6.3