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

ggtree error: "Error: object ‘get_aes_var’ is not exported by 'namespace:rvcheck'" #7

Open
Aveglia opened this issue Oct 21, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@Aveglia
Copy link
Owner

Aveglia commented Oct 21, 2021

I noticed I was getting an error with ggtree on some systems I set vAMPirus up on. This was caused by a conflict with the ggtree version, rvcheck version and R version selected by conda while building the environment.

Here is how to fix the issue:

After you have built the vAMPirus environment using the .yml file provided:

  1. Activate vAMPirus environment

conda activate vAMPirus

  1. Call R

R

  1. Check if there is a ggtree issue:

library(ggtree)

  1. If you get "Error: object ‘get_aes_var’ is not exported by 'namespace:rvcheck'" as ouput do:

devtools::install_version('rvcheck',version='0.1.7')

  1. Chose a mirror and install the right version of rvcheck needed (v0.1.7) -- for some reason after i selected a mirror I recieved a message saying the package didnt exist, just re-run the command form step 4 and it should install fine.

  2. If installation succesful then close out R

q()

  1. Re-open R and test

R

library(ggtree)

Hopefully this fix works for everyone, please let me know if this does not work for anyone.

@Aveglia Aveglia pinned this issue Oct 21, 2021
@Aveglia Aveglia added the documentation Improvements or additions to documentation label Oct 21, 2021
@Aveglia Aveglia closed this as completed Oct 21, 2021
@Aveglia Aveglia reopened this Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant