-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
I tried to install it with the code below but it failed. Could you give me a comment?
> BiocManager::install('amcdavid/HurdleNormal')
'getOption("repos")' replaces Bioconductor standard repositories, see
'?repositories' for details
replacement repositories:
CRAN: https://cloud.r-project.org
Bioconductor version 3.15 (BiocManager 1.30.17), R 4.2.0 (2022-04-22)
Installing github package(s) 'amcdavid/HurdleNormal'
Downloading GitHub repo amcdavid/HurdleNormal@HEAD
✔ checking for file ‘/tmp/Rtmp2EDymQ/remotes67a831e70d4ca/amcdavid-HurdleNormal-11dc0b1/DESCRIPTION’ ...
─ preparing ‘HurdleNormal’:
✔ 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
Removed empty directory ‘HurdleNormal/inst/aoas_simulations’
Removed empty directory ‘HurdleNormal/inst’
─ building ‘HurdleNormal_0.98.7.tar.gz’
* installing *source* package ‘HurdleNormal’ ...
** using staged installation
** libs
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I'/usr/local/lib/R/site-library/RcppArmadillo/include' -I'/usr/local/lib/R/site-library/Rcpp/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-apO4Ea/r-base-4.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I'/usr/local/lib/R/site-library/RcppArmadillo/include' -I'/usr/local/lib/R/site-library/Rcpp/include' -fpic -g -O2 -fdebug-prefix-map=/build/r-base-apO4Ea/r-base-4.2.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c hurdle_distributions.cpp -o hurdle_distributions.o
hurdle_distributions.cpp: In function ‘double cpp_rCondHurdle(const NumericVector&, int, const NumericMatrix&, const NumericMatrix&, const NumericMatrix&, double)’:
hurdle_distributions.cpp:29:39: error: ‘PI’ was not declared in this scope; did you mean ‘xI’?
29 | double logitP = Gba - .5*log(Kba/(2*PI))+pow(Hba,2)/(2*Kba);
| ^~
| xI
make: *** [/usr/lib/R/etc/Makeconf:177: hurdle_distributions.o] error 1
ERROR: compilation failed for package ‘HurdleNormal’
* removing ‘/usr/local/lib/R/site-library/HurdleNormal’
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels