Can't install dependencies using CLI
aleDsz opened this issue · comments
Alexandre de Souza commented
When i try to install some dependency which needs to compile with C, i can't install via CLI and it returns a generic error message. But, when i run it from rStudio i can install without any issue.
Error message:
$ jetpack add rarframeworkR --remote=aleDsz/rarframeworkR
Downloading GitHub repo aleDsz/rarframeworkR@master
Installing 18 packages: DBI, RMySQL, RMariaDB, RPostgreSQL, RSQLite, bit64, hms, BH, plogr, blob, memoise, pkgconfig, bit, rlang, vctrs, ellipsis, digest, glue
Installing packages into ‘[...]/3.6.1’
(as ‘lib’ is unspecified)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
(...)
Error: (converted from warning) Setting LC_TIME failed, using "C"
Execution halted
Failed to install 'rarframeworkR' from GitHub:
(converted from warning) installation of package ‘DBI’ had non-zero exit status
Environment infos:
sessionInfo
$ Rscript -e 'sessionInfo()'
R version 3.6.1 (2019-07-05)
Platform: x86_64-apple-darwin18.6.0 (64-bit)
Running under: macOS Mojave 10.14.6
Matrix products: default
BLAS/LAPACK: /usr/local/Cellar/openblas/0.3.7/lib/libopenblasp-r0.3.7.dylib
locale:
[1] C/pt_BR.UTF-8/C/C/C/C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] compiler_3.6.1 tools_3.6.1 jetpack_0.4.3 packrat_0.5.0
clang
$ clang --version
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
Andrew Kane commented
Hey @aleDsz, can you try the approaches here? https://stackoverflow.com/questions/9689104/installing-r-on-mac-warning-messages-setting-lc-ctype-failed-using-c
Alexandre de Souza commented
Hey @ankane, it worked.
Thanks :)