bvieth / powsimR

Power analysis is essential to optimize the design of RNA-seq experiments and to assess and compare the power to detect differentially expressed genes. PowsimR is a flexible tool to simulate and evaluate differential expression from bulk and especially single-cell RNA-seq data making it suitable for a priori and posterior power analyses.
https://bvieth.github.io/powsimR/
Artistic License 2.0
103 stars 23 forks source link

Installation failed: SVN does not seem to be installed on your system. #18

Closed wpappa closed 6 years ago

wpappa commented 6 years ago

Hello,

I am trying to install powsimR. I follow the instructions but I keep getting the following error message:

Installation failed: SVN does not seem to be installed on your system.

I am not sure why do I need an SVN system and which version do I need.

Thank you

bvieth commented 6 years ago

Hello,

the svn system is used by bioconductor.

On my ubuntu machine, I used sudo apt-get install subversion libapache2-svn to install it.

I recommend that you first install the dependencies of powsimR and then powsimR itself, either by using devtools or by downloading a source code version and using install.packages().

I hope this helps and feel free to message me if you need any further assistance.

Kind regards Beate

wpappa commented 6 years ago

Hi Beate,

Thank you for the response. However, I am working through RStudio on Windows. Do you have any instructions for this set up? I am not sure if it makes any difference, but I do have Git installed on my computer. I am not sure if there is something additional I should be doing though as I still get the same error message.

Best Regards, Vasso

From: Beate Vieth [mailto:notifications@github.com] Sent: Monday, April 23, 2018 3:34 AM To: bvieth/powsimR powsimR@noreply.github.com Cc: Pappa, Vasiliki PAPPAV@EMAIL.CHOP.EDU; Author author@noreply.github.com Subject: Re: [bvieth/powsimR] Installation failed: SVN does not seem to be installed on your system. (#18)

Hello,

the svn system is used by bioconductor.

On my ubuntu machine, I used sudo apt-get install subversion libapache2-svn to install it.

I recommend that you first install the dependencies of powsimR and then powsimR itself, either by using devtools or by downloading a source code version and using install.packages().

I hope this helps and feel free to message me if you need any further assistance.

Kind regards Beate

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/bvieth/powsimR/issues/18#issuecomment-383481803, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ak2G2sbJ8WFvgnF_pGKwSlTHcxNIE2tCks5trYPlgaJpZM4TfCJh.

bvieth commented 6 years ago

Dear Vasso,

svn is needed for the automatic installation of powsimR dependencies by using the Remotes entries in the DESCRIPTION file. Were you able to install the dependencies manually and then subsequently install powsimR with devtools::install_github("bvieth/powsimR", build_vignettes = TRUE, dependencies = FALSE) ? Unfortunately, some of the dependencies in powsimR (particular implementation for parallel computation) used to be (might have changed) not available for Windows. If you could run the following (i.e. try to install the dependencies of powsimR) and record the packages that are not available for your system, I can make a version without these and make it available as a source package for download.

ipak <- function(pkg, repository = c("CRAN", "Bioconductor", "github")) {
    new.pkg <- pkg[!(pkg %in% installed.packages()[, "Package"])]
    # new.pkg <- pkg
    if (length(new.pkg)) {
        if (repository == "CRAN") {
            install.packages(new.pkg, dependencies = TRUE)
        }
        if (repository == "Bioconductor") {
            source("https://bioconductor.org/biocLite.R")
            biocLite(new.pkg, dependencies = TRUE, ask = FALSE)
        }
        if (repository == "github") {
            devtools::install_github(new.pkg, build_vignettes = FALSE, dependencies = TRUE)
        }
    }
}

# CRAN PACKAGES
cranpackages <- c("bbmle", "broom", "cluster", "cobs", "cowplot", "data.table",
    "doParallel", "dplyr", "drc", "DrImpute", "fastICA", "fitdistrplus", "foreach", 
    "gamlss.dist", "ggExtra", "ggplot2", "ggthemes", "grDevices", "glmnet", 
    "grid", "gtools", "Hmisc", "kernlab", "MASS", "matrixStats", "mclust", "methods", 
    "minpack.lm", "moments", "msir", "NBPSeq", "nonnest2", "parallel", "penalized", 
    "plyr", "pscl", "reshape2", "ROCR", "Rtsne", "scales", "Seurat", "snow", 
    "stats", "tibble", "tidyr", "VGAM", "ZIM")
ipak(cranpackages, repository = "CRAN")

# BIOCONDUCTOR
biocpackages <- c("AnnotationDbi", "baySeq", "Biobase", "BiocGenerics", "BiocParallel", 
    "DEDS", "DESeq2", "EBSeq", "edgeR", "IHW", "iCOBRA", "limma", "Linnorm", 
    "MAST", "monocle", "NOISeq", "qvalue", "ROTS", "RUVSeq", "S4Vectors", "scater", 
    "scDD", "scde", "scone", "scran", "SCnorm", "SingleCellExperiment", "SummarizedExperiment", 
    "zinbwave")
ipak(biocpackages, repository = "Bioconductor")

# GITHUB
githubpackages <- c("nghiavtr/BPSC", "VCCRI/cidr", "cz-ye/DECENT", "mohuangx/SAVER", 
    "statOmics/zingeR")
ipak(githubpackages, repository = "github")

I am assuming you are using R 3.4.4?

Kind regards Beate

bvieth commented 6 years ago

Dear Vasso,

I will close the issue for now. Feel free to reopen if my suggestions did not help.

Kind regards Beate