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

Error when installing extrantsr to Rstudio Server #16

Open
saksanhary opened this issue Apr 24, 2024 · 4 comments
Open

Error when installing extrantsr to Rstudio Server #16

saksanhary opened this issue Apr 24, 2024 · 4 comments

Comments

@saksanhary
Copy link

  1. Installation via WSL2 command line
    using $ R CMD INSTALL extrantsr

This error came:
installing source package ‘extrantsr’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: object ‘%>%’ is not exported by 'namespace:ANTsRCore'
Execution halted
ERROR: lazy loading failed for package ‘extrantsr’

2)Installation on Rstudio Server (2023.12.1 Build 402) with R 4.3.3.
I ran the code : install.packages("extrantsr")

This error came:

Warning in install.packages :
package ‘extrantsr’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

  1. Installation on RStudio Server with code : devtools::install_github("muschellij2/extrantsr")

This error came:
installing source package ‘extrantsr’ ...
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Error: object ‘%>%’ is not exported by 'namespace:ANTsRCore'
Execution halted
ERROR: lazy loading failed for package ‘extrantsr’

I'm currently using WSL version 2.1.5.0, with Ubuntu 22.04
Rstudio Server (2023.12.1 Build 402) with R 4.3.3.
ANTsRCore version 0.8.0 installed
devtools version 2.4.5

Guidance on what to do after this would be much appreciated.

@goterm
Copy link

goterm commented May 21, 2024

I ran into the same issue and i am unable to install extrantsr. any hint would be appreciated. thanks!

@muschellij2
Copy link
Owner

ANTsR and ANTsRCore have undergone considerable and complete changes. I cannot keep up with them and need to wait until they are solidified before updating this: ANTsX/ANTsRCore#154

@muschellij2
Copy link
Owner

See if it works now.

@saksanhary
Copy link
Author

I've installed it successfully and it works without issues. Thank you!

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

3 participants