You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing R 3.6.3 and r-macos-rtools, then successfully installing devtools::install_github("lbartnik/subprocess") (since such package is no longer on CRAN and is a dependency), I got the following error when trying to install prodyna:
> devtools::install_github("lettis/prodyna")
Downloading GitHub repo lettis/prodyna@master
✓ checking for file ‘/private/var/folders/mb/8h7xjbpj6dj81r10lzk8gxxm0000gn/T/RtmpQsmSv0/remotes4d2f458ae093/lettis-prodyna-e7411aa/DESCRIPTION’ ...
─ preparing ‘prodyna’:
✓ 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 ‘prodyna_0.1.0.tar.gz’
* installing *source* package ‘prodyna’ ...
** using staged installation
** libs
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -fopenmp -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp `Rscript -e 'Rcpp:::CxxFlags()'` -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -fopenmp -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp `Rscript -e 'Rcpp:::CxxFlags()'` -fPIC -Wall -g -O2 -c circacf.cpp -o circacf.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -fopenmp -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp `Rscript -e 'Rcpp:::CxxFlags()'` -fPIC -Wall -g -O2 -c fastacf.cpp -o fastacf.o
clang++ -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -fopenmp -I"/Library/Frameworks/R.framework/Versions/3.6/Resources/library/Rcpp/include" -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include -fopenmp `Rscript -e 'Rcpp:::CxxFlags()'` -fPIC -Wall -g -O2 -c rama2rgb.cpp -o rama2rgb.o
rama2rgb.cpp:34:21: error: constexpr variable 'scale' must be initialized by a constant expression
constexpr float scale = std::sqrt(2) * 180.0;
^ ~~~~~~~~~~~~~~~~~~~~
rama2rgb.cpp:34:29: note: non-constexpr function 'sqrt<int>' cannot be used in a constant expression
constexpr float scale = std::sqrt(2) * 180.0;
^
/usr/local/clang7/include/c++/v1/math.h:1038:1: note: declared here
sqrt(_A1 __lcpp_x) _NOEXCEPT {return ::sqrt((double)__lcpp_x);}
^
1 error generated.
make: *** [rama2rgb.o] Error 1
ERROR: compilation failed for package ‘prodyna’
* removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/prodyna’
Error: Failed to install 'prodyna' from GitHub:
(converted from warning) installation of package ‘/var/folders/mb/8h7xjbpj6dj81r10lzk8gxxm0000gn/T//RtmpQsmSv0/file4d2f209df690/prodyna_0.1.0.tar.gz’ had non-zero exit status
The version details:
> version
_
platform x86_64-apple-darwin15.6.0
arch x86_64
os darwin15.6.0
system x86_64, darwin15.6.0
status
major 3
minor 6.3
year 2020
month 02
day 29
svn rev 77875
language R
version.string R version 3.6.3 (2020-02-29)
nickname Holding the Windsock
The text was updated successfully, but these errors were encountered:
After installing R 3.6.3 and r-macos-rtools, then successfully installing
devtools::install_github("lbartnik/subprocess")
(since such package is no longer on CRAN and is a dependency), I got the following error when trying to installprodyna
:The version details:
The text was updated successfully, but these errors were encountered: