laresbernardo / lares

Analytics & Machine Learning R Sidekick
https://laresbernardo.github.io/lares/
233 stars 49 forks source link

Error during installation #27

Closed KunathBJ closed 3 years ago

KunathBJ commented 3 years ago

Hello,

I tried to install the library with: devtools::install_github("laresbernardo/lares")

However when I do so I get the error: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : namespace ‘processx’ 3.4.3 is being loaded, but >= 3.4.4 is required

I tried google and tried updating Rtools and Rstudio but it doesn't work. I'm currently using R 4.0.

Thanks for your help, Ben

laresbernardo commented 3 years ago

Hi @KunathBJ Please, try updating your processx library first and try again. If it doesn't work, share with us your sessionInfo(). It doesn't seem to be a problem with the library per se. It's that you have loaded a dependency that's older than required.

KunathBJ commented 3 years ago

Hello,

I tried that but now I have another error saying: Error: Failed to install 'lares' from GitHub: (converted from warning) cannot remove prior installation of package ‘digest’

I tried couple of things already but really I don't understand. For example, when I remove digest, then it complains that there is no package digest...

Thanks a lot and sorry for the very basic question. Ben

laresbernardo commented 3 years ago

Ok. You might want to manually delete those problematic libraries and re-install them. You could simply update them but this approach is a bit more secure. Try again and if it doesn’t work, do share your sessionInfo()

KunathBJ commented 3 years ago

I tried to desinstal it, to install it again, to remove it. It just doesn't make sense :/

Here is the sessionsInfo: Error: Failed to install 'lares' from GitHub: (converted from warning) cannot remove prior installation of package ‘digest’

sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)

Matrix products: default

Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] parallel stats4 stats graphics grDevices utils datasets methods base

other attached packages: [1] DESeq2_1.28.1 SummarizedExperiment_1.18.2 DelayedArray_0.14.1 matrixStats_0.56.0
[5] Biobase_2.48.0 GenomicRanges_1.40.0 GenomeInfoDb_1.24.2 IRanges_2.22.2
[9] S4Vectors_0.26.1 BiocGenerics_0.34.0

loaded via a namespace (and not attached): Error in x[["Version"]] : subscript out of bounds In addition: Warning message: In FUN(X[[i]], ...) : DESCRIPTION file of package 'digest' is missing or broken

KunathBJ commented 3 years ago

And here is the sessioninfo when I install Digest

sessionInfo() R version 4.0.2 (2020-06-22) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)

Matrix products: default

Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages: [1] parallel stats4 stats graphics grDevices utils datasets methods base

other attached packages: [1] SummarizedExperiment_1.18.2 DelayedArray_0.14.1 matrixStats_0.56.0 Biobase_2.48.0
[5] GenomicRanges_1.40.0 GenomeInfoDb_1.24.2 IRanges_2.22.2 S4Vectors_0.26.1
[9] BiocGenerics_0.34.0

loaded via a namespace (and not attached): [1] Rcpp_1.0.5 lattice_0.20-41 assertthat_0.2.1 zlibbioc_1.34.0
[5] rlang_0.4.8 rstudioapi_0.11 blob_1.2.1 Matrix_1.2-18
[9] BiocParallel_1.22.0 RCurl_1.98-1.2 bit_4.0.3 compiler_4.0.2
[13] GenomeInfoDbData_1.2.3 XML_3.99-0.5 fansi_0.4.1 crayon_1.3.4
[17] bitops_1.0-6 grid_4.0.2 xtable_1.8-4 DBI_1.1.0
[21] cli_2.1.0 XVector_0.28.0 vctrs_0.3.2 tools_4.0.2

laresbernardo commented 3 years ago

Sorry, it seems to be an issue with your local settings and (maybe) old package versions. I test all of the versions commited with Github Actions on several OS to avoid lares package being the problem. Do let me know if you manage to fix your problem as maybe other people may have the same issue and might help the solve it. Good luck!