Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

herpesdrg installation #11

Open
raquelriyuzo opened this issue Jun 19, 2024 · 1 comment
Open

herpesdrg installation #11

raquelriyuzo opened this issue Jun 19, 2024 · 1 comment

Comments

@raquelriyuzo
Copy link

Hi, I'm trying to install the tool, but I haven't been successful.
I tried several ways... Rstudio, Docker and directly from the terminal. I had the following errors:

Rstudio
command:
install.packages("devtools")
devtools::install_github("ojcharles/herpesdrg")

Error: Never finishes loading

Docker
Error:
ERROR: failed to solve: process "/bin/bash --login -c conda upgrade conda && conda config --add channels r --add channels bioconda --add channels conda-forge && conda create --name herpesdrg r-base bioconductor-biocinstaller && echo "source activate herpesdrg" > ~/.bashrc" did not complete successfully: exit code: 1

and

RUN conda install r-devtools python=3.8 pip snp-sites=2.5.1 mafft=7.520 &&
R -e "Sys.setenv(TAR = '/bin/tar'); library('devtools'); devtools::install_github('ojcharles/herpesdrg')" &&
pip install pandas==2.0.3 openpyxl==3.1.2

Error: Never finishes loading

Terminal
Error:

install.packages("devtools")
--- Please select a CRAN mirror for use in this session ---
Error in contrib.url(repos, "source") :
trying to use CRAN without setting a mirror

Do you know what could be happening?
Thank you very much!

@ojcharles
Copy link
Owner

Hi there.
This is a little odd, it looks most likely you are having issues contacting CRAN , which is why you have issues in all three approaches and cannot install devtools.

I would focus on getting that to work initially before worring about herpesdrg.

  • First I'd check if any peers are having a similar issue in your company / lab . Looks like an IT issue.
  • You can also try posit cloud for free and test code out there to confirm if its your side, or this repo's issue. https://posit.cloud/plans
  • Other things to try - defining the repo like install.packages('devtools',dependencies=TRUE, repos='http://cran.rstudio.com/')

Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants