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

Installation error #65

Open
karolinasenkow opened this issue Jul 19, 2023 · 4 comments
Open

Installation error #65

karolinasenkow opened this issue Jul 19, 2023 · 4 comments

Comments

@karolinasenkow
Copy link

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.

@bvieth
Copy link
Owner

bvieth commented Aug 1, 2023

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

@gmillerscripps
Copy link

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

@PEACHW314
Copy link

PEACHW314 commented Feb 18, 2024

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
Copy link

PEACHW314 commented Feb 18, 2024

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.

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

4 participants