error in package install
Hi developer, I tried to install the package, error produced as follows: `devtools::install_github('erocoar/gghalves') Downloading GitHub repo erocoar/gghalves@HEAD These packages have more recent versions available. It is recommended to update all of them. Which would you like to update?
1: All
2: CRAN packages only
3: None
4: vctrs (0.3.5 -> 0.3.6 ) [CRAN]
5: rlang (0.4.8 -> 0.4.10) [CRAN]
6: diffobj (0.3.2 -> 0.3.3 ) [CRAN]
7: pkgbuild (1.1.0 -> 1.2.0 ) [CRAN]
8: ps (1.4.0 -> 1.5.0 ) [CRAN]
9: processx (3.4.4 -> 3.4.5 ) [CRAN]
10: jsonlite (1.7.1 -> 1.7.2 ) [CRAN]
11: testthat (3.0.0 -> 3.0.1 ) [CRAN]
12: isoband (0.2.2 -> 0.2.3 ) [CRAN]
13: ggplot2 (3.3.2 -> 3.3.3 ) [CRAN]
Enter one or more numbers, or an empty line to skip updates: ✓ checking for file ‘/private/var/folders/b6/vc89542s77q969mss8tnwy41cvdj14/T/RtmpbKdbO7/remotescd17d055335/erocoar-gghalves-0e0ea16/DESCRIPTION’ (1.1s) ─ preparing ‘gghalves’: ✓ checking DESCRIPTION meta-information ... ─ checking for LF line-endings in source and make files and shell scripts ─ checking for empty or unneeded directories ─ building ‘gghalves_0.1.1.tar.gz’ Warning: invalid uid value replaced by that for user 'nobody' Warning: invalid gid value replaced by that for user 'nobody'
- installing source package ‘gghalves’ ... ** using staged installation ** R ** byte-compile and prepare package for lazy loading Error: (converted from warning) package ‘ggplot2’ was built under R version 3.6.2 Execution halted ERROR: lazy loading failed for package ‘gghalves’
- removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/gghalves’ Error: Failed to install 'gghalves' from GitHub: (converted from warning) installation of package ‘/var/folders/b6/vc89542s77q969mss8tnwy41cvdj14/T//RtmpbKdbO7/filecd16899fcb2/gghalves_0.1.1.tar.gz’ had non-zero exit status`
`> sessionInfo() R version 3.6.1 (2019-07-05) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS Catalina 10.15.7
Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.6/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
a` Could you give some suggestions? Thanks
Hi, sorry for my late reply (and the issue you encounter). Have you been able to resolve it in the meantime? Are you able to install it from CRAN (vs Github)?