marlonecobos / kuenm

kuenm: An R package for detailed calibration and construction of Maxent Ecological Niche Models.
61 stars 24 forks source link

difficulty installing the Package kuenm #40

Open agoodman312 opened 2 years ago

agoodman312 commented 2 years ago

Hi!

I am having a really difficult time downloading the kuenm r package. When I run the code:

devtools::install_github("marlonecobos/kuenm")

I get a long list of errors

devtools::install_github("marlonecobos/kuenm") Downloading GitHub repo marlonecobos/kuenm@HEAD ✓ checking for file ‘/private/var/folders/6w/1004hzrn45n92r7q8sqyzsc80000gn/T/Rtmpx5YHJe/remotesa07c283ef826/marlonecobos-kuenm-c19f6bf/DESCRIPTION’ ... ─ preparing ‘kuenm’: ✓ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘kuenm_1.1.7.tar.gz’

I have tried deleting and redownloading Xcode, command line tools, LLVM, gcc, gfortran, and any other compilers, editing my makevars file, but nothing seems to work. Here is my session information.

R version 4.1.2 (2021-11-01) Platform: aarch64-apple-darwin20 (64-bit) Running under: macOS Monterey 12.2.1

Matrix products: default LAPACK: /Library/Frameworks/R.framework/Versions/4.1-arm64/Resources/lib/libRlapack.dylib

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages: [1] raster_3.5-15 sp_1.4-6

loaded via a namespace (and not attached): [1] Rcpp_1.0.8 compiler_4.1.2 prettyunits_1.1.1 remotes_2.4.2
[5] tools_4.1.2 testthat_3.1.2 pkgbuild_1.3.1 pkgload_1.2.4
[9] memoise_2.0.1 lifecycle_1.0.1 lattice_0.20-45 rlang_1.0.1
[13] rstudioapi_0.13 cli_3.2.0 curl_4.3.2 xfun_0.29
[17] fastmap_1.1.0 terra_1.5-21 withr_2.4.3 knitr_1.37
[21] desc_1.4.0 fs_1.5.2 devtools_2.4.3 rprojroot_2.0.2
[25] grid_4.1.2 glue_1.6.2 R6_2.5.1 processx_3.5.2
[29] sessioninfo_1.2.2 callr_3.7.0 purrr_0.3.4 magrittr_2.0.2
[33] codetools_0.2-18 ps_1.6.0 ellipsis_0.3.2 usethis_2.1.5
[37] cachem_1.0.6 crayon_1.5.0 brio_1.1.3

imanidaniele commented 2 years ago

@agoodman312 Were you able to figure out how to install the package? I'm also having trouble installing the package and get this error message:

devtools::install_github("marlonecobos/kuenm") Downloading GitHub repo marlonecobos/kuenm@HEAD ✔ checking for file ‘/private/var/folders/h8/74_5hvg11k3_kl2nntycqjcw0000gn/T/RtmpRKlyCg/remotes17b9f6901ea16/marlonecobos-kuenm-c19f6bf/DESCRIPTION’ ... ─ preparing ‘kuenm’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘kuenm_1.1.7.tar.gz’

R version 4.1.2 (2021-11-01) Platform: x86_64-apple-darwin17.0 Running under: macOS Catalina 10.15.7