Entering edit mode
I don't know if this is an R issue, RStudio issue, or Bioconductor issue.
When I try to install some packages, in this specific case DECIPHER
, I get:
> biocLite('DECIPHER', suppressUpdates=T)
trying URL 'https://bioconductor.org/packages/3.6/bioc/src/contrib/DECIPHER_2.6.0.tar.gz'
Content type 'application/x-gzip' length 12633118 bytes (12.0 MB)
==================================================
downloaded 12.0 MB
* installing *source* package ‘DECIPHER’ ...
** libs
Warning: R include directory is empty -- perhaps need to install R-devel.rpm or similar
/home/balter/conda/lib/R/etc/Makeconf:10: /envs/dada2/lib/R/share/make/vars.mk: No such file or directory
make: /envs/dada2/lib/R/share/make/shlib.mk: No such file or directory
make: *** No rule to make target '/envs/dada2/lib/R/share/make/shlib.mk'. Stop.
ERROR: compilation failed for package ‘DECIPHER’
* removing ‘/home/balter/conda/envs/dada2/lib/R/library/DECIPHER’
The downloaded source packages are in
‘/tmp/RtmpwH2lcr/downloaded_packages’
> Sys.getenv('R_INCLUDE_DIR')
[1] "/home/balter/conda/envs/dada2/lib/R/include/"
> list.files(Sys.getenv('R_INCLUDE_DIR'))
[1] "R_ext" "R.h" "Rconfig.h" "Rdefines.h" "Rembedded.h" "Rinterface.h" "Rinternals.h"
[8] "Rmath.h" "Rversion.h" "S.h"