powsimR icon indicating copy to clipboard operation
powsimR copied to clipboard

Installation error

Open karolinasenkow opened this issue 2 years ago • 4 comments

Hello,

I am unable to install powsimR because I cannot install the dependency Rmagic: https://cran.r-project.org/web/packages/Rmagic/index.html.

Is there a workaround for this?

Thank you.

karolinasenkow avatar Jul 19 '23 19:07 karolinasenkow

Hello,

due to dependencies issues such is this (Rmagic is no longer available), I have compiled a lite version of powsimR.

You can install it using: remotes::install_github("bvieth/powsimR", ref = "lite", dependencies = TRUE, upgrade = "ask")

HTH Beate

bvieth avatar Aug 01 '23 11:08 bvieth

Thank you for the lite version! Could you perhaps provide some details (either here or on the README for that branch) as to the difference between this version and the main? Is it just in regards to the imputation? thank you, Garrett

gmillerscripps avatar Jan 08 '24 23:01 gmillerscripps

I tried "remotes::install_github("bvieth/powsimR", ref = "lite", dependencies = TRUE, upgrade = "ask")", then it said "ERROR: dependencies 'ggpubr', 'scran', 'SummarizedExperiment' are not available for package 'powsimR' +* removing 'C:/Program Files/R/R-4.0.4/library/powsimR'". And I then did library(powsimR) and it showed "Error in library(powsimR) : there is no package called ‘powsimR’" . Any help would be greatly appreciated!

PEACHW314 avatar Feb 18 '24 02:02 PEACHW314

Then with a lot efforts, with library(remotes) and install_version("package", "version"), I installed all the dependencies and I also updated my R and Rstudio and make sure Rstudio is using the updated R by checking global options in Rstudio. After these updates, I re-run the installation guide and through some back and forth to install unavailable packages, I finally get all FALSE for table(is.na(ip.check$Version)). When installing, I read the codes carefully, once it says XX package is not available in your R version, go to CRAN to check this package and manually install the most updated version by install_version. Finally, powsimR is installed.

PEACHW314 avatar Feb 18 '24 14:02 PEACHW314