immunomind / immunarch

🧬 Immunarch: an R Package for Fast and Painless Exploration of Single-cell and Bulk T-cell/Antibody Immune Repertoires
https://immunarch.com
Apache License 2.0
312 stars 65 forks source link

immunarch 0.6.7 instead of 0.9.0 is installed from CRAN #335

Closed github-wow closed 1 year ago

github-wow commented 1 year ago

Either with install.packages("immunarch") or RStudio's menu: Tools > Install packages...

And this recommendations ended with 0.9.0 version installed:

> install.packages(c("devtools", "pkgload"))
Installing packages into ‘C:/Users/User/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/devtools_2.4.5.zip'
Content type 'application/zip' length 429142 bytes (419 KB)
downloaded 419 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/pkgload_1.3.2.zip'
Content type 'application/zip' length 178465 bytes (174 KB)
downloaded 174 KB

package ‘devtools’ successfully unpacked and MD5 sums checked
package ‘pkgload’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
    C:\Users\User\AppData\Local\Temp\RtmpCez6dM\downloaded_packages
> devtools::install_github("immunomind/immunarch")
Downloading GitHub repo immunomind/immunarch@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\User\AppData\Local\Temp\RtmpCez6dM\remotesc989e57d2\immunomind-immunarch-ac2c840/DESCRIPTION' ... 
─  preparing 'immunarch': (1.3s)
✔  checking DESCRIPTION meta-information ... 
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building 'immunarch_0.9.0.tar.gz'

Installing package into ‘C:/Users/User/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
* installing *source* package 'immunarch' ...
** using staged installation
** libs
g++ -std=gnu++11  -I"C:/PROGRA~1/R/R-42~1.2/include" -DNDEBUG  -I'C:/Users/User/AppData/Local/R/win-library/4.2/Rcpp/include'   -I"C:/RBuildTools/4.2/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11  -I"C:/PROGRA~1/R/R-42~1.2/include" -DNDEBUG  -I'C:/Users/User/AppData/Local/R/win-library/4.2/Rcpp/include'   -I"C:/RBuildTools/4.2/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c fill_functions.cpp -o fill_functions.o
g++ -std=gnu++11 -shared -s -static-libgcc -o immunarch.dll tmp.def RcppExports.o fill_functions.o -LC:/RBuildTools/4.2/x86_64-w64-mingw32.static.posix/lib/x64 -LC:/RBuildTools/4.2/x86_64-w64-mingw32.static.posix/lib -LC:/PROGRA~1/R/R-42~1.2/bin/x64 -lR
installing to C:/Users/User/AppData/Local/R/win-library/4.2/00LOCK-immunarch/00new/immunarch/libs/x64
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (immunarch)

Platform: x86_64-w64-mingw32/x64 (64-bit); R version 4.2.2 (2022-10-31 ucrt); RStudio 2022.12.0 Build 353.

Alexander230 commented 1 year ago

Hi, @github-wow!

I'm Aleksandr Popov, a developer of Immunarch package. Thank you for using our software!

Current version of immunarch on CRAN is 0.9.0: https://cran.r-project.org/web/packages/immunarch/index.html If install.packages installs an old version, this can be a problem in your R environment. You can try to clear your environment in Rstudio like described here https://stackoverflow.com/a/57072947/1554282 and upgrade all installed packages like described here https://www.r-bloggers.com/2014/11/update-all-user-installed-r-packages-again/

You can also try to use the function install_version from package remotes like described here https://stackoverflow.com/a/29840882/1554282 to install the specific version of immunarch from CRAN.

Best regards, Aleksandr

github-wow commented 1 year ago

thanks Alexandr ( @Alexander230 )