R-package DESCRIPTION - The remote control from Bioconductor must set the binary

I am working on the R package ( https://github.com/bgbrink/dropClust ), and I tested it if it can be installed, since it depends on the number of packages on both CRAN and Bioconductor. I have indicated three dependencies on Bioconductor in DESCRIPTION:

Remotes: bioc::flowDensity, bioc::SamSPECTRAL, bioc::flowPeaks 

However, when I try to install the package, installing flowPeaks fails because the script downloads the original version of the package, which requires the GSL to be present for compilation.

 * installing *source* package 'flowPeaks' ... ** libs clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG -I/usr/local/include `gsl-config --cflags` -fPIC -Wall -g -O2 -c Rpack.cpp -o Rpack.o /bin/sh: gsl-config: command not found In file included from Rpack.cpp:16: ./gvector_gmatrix.h:24:10: fatal error: 'gsl/gsl_math.h' file not found #include <gsl/gsl_math.h> ^ 1 error generated. make: *** [Rpack.o] Error 1 ERROR: compilation failed for package 'flowPeaks' 

When I download the package manually from Bioconductor, everything works fine, because the script loads the binary version of the package. Can I indicate where this behavior is by default? I tried the options (pkgType = "binary") without success.

Edit: There are no new ideas, so I stumble upon it once.

+5
source share

Source: https://habr.com/ru/post/1267184/


All Articles