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

Installation of BactMAP via remotes fails: unable to remove certain packages #5

Open
vrrenske opened this issue Oct 31, 2019 · 0 comments
Labels

Comments

@vrrenske
Copy link
Collaborator

When installing BactMAP using install_github(), a list of other packages are installed & updated as well. What should I do when I get the error 'unable to remove package' for one or more of the updates?

  1. Sometimes, one of the installations gets corrupted, and this corrupted installation in your R library is preventing other packages to be installed. This can mostly be resolved by closing your R session. So,close your R session completely, and open a new R session. Then try to install BactMAP again using remotes::install_github("veeninglab/bactmap").
  2. If closing/opening doesn't work, check in the error message the name of the package where your installation got stuck and try to install this package manually using install.packages("thenameofthepackage"). You might need to do this with a few packages subsequently.
  3. If this doesn't work, then go to your R library folder and remove the packages which couldn't get installed properly by hand. Check this post for help.
@vrrenske vrrenske added the tips label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant