genstats icon indicating copy to clipboard operation
genstats copied to clipboard

Update to install instruction

Open davidenoma opened this issue 4 years ago • 4 comments

Nice work here. Kindly take note that the source("http://bioconductor.org/biocLite.R") is deprecated and now BiocManager is used to install Biocmanager.

davidenoma avatar Jun 06 '20 18:06 davidenoma

were you able to install it? when I try with BiocManager::install("jtleek/genstats", ref="gh-pages")

I get this error:

ERROR: dependency ‘RSkittleBrewer’ is not available for package ‘genstats’
* removing ‘/home/franasa/R/x86_64-redhat-linux-gnu-library/3.6/genstats’
Error: Failed to install 'genstats' from GitHub:
  (converted from warning) installation of package ‘/tmp/RtmpdNz6Kk/file111b347431de/genstats_0.1.02.tar.gz’ had non-zero exit status

with R 3.6.3 running on Fedora 31

franasa avatar Jun 08 '20 07:06 franasa

Since I wanted the markdown and source code for the course, I just cloned the repository.

git clone https://github.com/jtleek/genstats Then I was able to find the files in the vignettes sub directory.

With regards the error, I think you should install SkittleBrewer: BiocManager::install('RSkittleBrewer')

This should work fine. Try and let me know what you get. Cheers

davidenoma avatar Jun 09 '20 00:06 davidenoma

thanks!, I got an answer from one of the course mentors:

'RSkittleBrewer' is not a Bioconductor package and, thus, you cannot use 'BiocManager' to install it. Try instead:

library(devtools)
devtools::install_github('alyssafrazee/RSkittleBrewer')

this worked for me.

franasa avatar Jun 09 '20 06:06 franasa

BiocManager is able to install as well. Try it and see. I was also surprised.

davidenoma avatar Jun 12 '20 20:06 davidenoma