muschellij2 / extrantsr

R Package to build on ANTsR
GNU General Public License v3.0
6 stars 3 forks source link

Error when installing extrantsr to Rstudio Server #16

Open saksanhary opened 3 months ago

saksanhary commented 3 months ago

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

3) 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 commented 2 months ago

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

muschellij2 commented 2 months ago

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: https://github.com/ANTsX/ANTsRCore/issues/154

muschellij2 commented 2 months ago

See if it works now.

saksanhary commented 2 months ago

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