Hi Michael,
I am having an issue installing JACUSA2helper. When I try installation, I get the following message:
install_github("dieterich-lab/JACUSA2helper", dependencies = TRUE, build_vignettes = TRUE, type="source")
Downloading GitHub repo dieterich-lab/JACUSA2helper@HEAD
Error: Failed to install 'JACUSA2helper' from GitHub:
Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.
pkgbuild::check_build_tools(debug = TRUE)
Trying to compile a simple C file
Running /Library/Frameworks/R.framework/Resources/bin/R CMD SHLIB foo.c
/usr/local/clang4/bin/clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c foo.c -o foo.o
/bin/sh: /usr/local/clang4/bin/clang: No such file or directory
make: *** [foo.o] Error 127
Error: Could not find tools necessary to compile a package
Call pkgbuild::check_build_tools(debug = TRUE) to diagnose the problem.
When I first download from releases and then try to install, I get the following message:
install.packages("/Applications/JACUSA2helper-1.99-9600.tar.gz", repos = NULL, type = "source")
Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers
installing source package ‘JACUSA2helper’ ...
using staged installation
libs
/usr/local/clang4/bin/clang++ -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/Rcpp/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
/bin/sh: /usr/local/clang4/bin/clang++: No such file or directory
make: *** [RcppExports.o] Error 127
ERROR: compilation failed for package ‘JACUSA2helper’
restoring previous ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/JACUSA2helper’
Warning in install.packages :
installation of package ‘/Applications/JACUSA2helper-1.99-9600.tar.gz’ had non-zero exit status
I am using:
R version 4.2.2 (2022-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Ventura 13.0.1
Hi Michael, I am having an issue installing JACUSA2helper. When I try installation, I get the following message:
When I first download from releases and then try to install, I get the following message:
I am using:
R version 4.2.2 (2022-10-31) Platform: aarch64-apple-darwin20 (64-bit) Running under: macOS Ventura 13.0.1
Any help is appreciated! Thanks!