devtools::install_github("rbchan/unmarked")
Downloading GitHub repo rbchan/unmarked@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: processx (3.8.1 -> 3.8.2) [CRAN]
Enter one or more numbers, or an empty line to skip updates: geom_histogram(bins = 25,aes(fill = rain)) +
Enter one or more numbers, or an empty line to skip updates: 1
processx (3.8.1 -> 3.8.2) [CRAN]
Installing 1 packages: processx
Installing package into ‘C:/Users/Abi's/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.3/processx_3.8.2.zip'
Content type 'application/zip' length 686244 bytes (670 KB)
downloaded 670 KB
package ‘processx’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘processx’
Warning: restored ‘processx’
The downloaded binary packages are in
C:\Users\Abi's\AppData\Local\Temp\Rtmp0AGPXi\downloaded_packages
── R CMD build ─────────────────────────────────────────────────────────
checking for file 'C:\Users\Abi's\AppData\Local\Temp\Rtmp0AGPXi\remotes2dc87d527fb\rbchan-unmarked-ac40eed/DESCRIPTION' (3.1s)
─ preparing 'unmarked': (3.5s)
checking DESCRIPTION meta-information ...
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts (4.7s)
─ checking for empty or unneeded directories (449ms)
─ building 'unmarked_1.3.2.9002.tar.gz'
Installing package into ‘C:/Users/Abi's/AppData/Local/R/win-library/4.3’
(as ‘lib’ is unspecified)
- installing source package 'unmarked' ...
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.2.0'
using C++ compiler: 'G__~1.EXE (GCC) 12.2.0'
g++ -std=gnu++17 -I"C:/PROGRA~1/R/R-43~1.1/include" -DNDEBUG -DSTRICT_R_HEADERS -I'C:/Users/Abi's/AppData/Local/R/win-library/4.3/Rcpp/include' -I'C:/Users/Abi's/AppData/Local/R/win-library/4.3/RcppArmadillo/include' -I'C:/Users/Abi's/AppData/Local/R/win-library/4.3/TMB/include' -I'C:/Users/Abi's/AppData/Local/R/win-library/4.3/RcppEigen/include' -I"C:/RBuildTools/4.3/x86_64-w64-mingw32.static.posix/include" -fopenmp -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o
RcppExports.cpp:4:10: fatal error: RcppArmadillo.h: No such file or directory
4 | #include <RcppArmadillo.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [C:/PROGRA~1/R/R-43~1.1/etc/x64/Makeconf:272: RcppExports.o] Error 1
ERROR: compilation failed for package 'unmarked' - removing 'C:/Users/Abi's/AppData/Local/R/win-library/4.3/unmarked'
Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :
problem copying C:\Users\Abi's\AppData\Local\R\win-library\4.3\00LOCK\processx\libs\x64\processx.dll to C:\Users\Abi's\AppData\Local\R\win-library\4.3\processx\libs\x64\processx.dll: Permission denied
2: In i.p(...) :
installation of package ‘C:/Users/Abi's/AppData/Local/Temp/Rtmp0AGPXi/file2dc87a0a591f/unmarked_1.3.2.9002.tar.gz’ had non-zero exit status