Closed idc9 closed 5 years ago
I updated my R version and get a similar error
> devtools::install_github("pkimes/sigclust2")
Downloading GitHub repo pkimes/sigclust2@master
Skipping 5 packages not available: AnnotationDbi, GO.db, impute, preprocessCore, Rclusterpp
Installing 62 packages: acepack, AnnotationDbi, BH, bindr, bindrcpp, checkmate, colorspace, data.table, DEoptimR, doParallel, dplyr, dynamicTreeCut, evaluate, fansi, fastcluster, fit.models, foreach, Formula, ggdendro, ggplot2, ggthemes, GO.db, gridExtra, gtable, highr, Hmisc, htmlTable, htmltools, htmlwidgets, impute, iterators, knitr, labeling, latticeExtra, lazyeval, markdown, matrixStats, munsell, mvtnorm, pcaPP, pillar, pkgconfig, plogr, plyr, preprocessCore, purrr, Rclusterpp, RColorBrewer, reshape2, robust, robustbase, rrcov, scales, stringi, stringr, tibble, tidyselect, utf8, viridis, viridisLite, WGCNA, yaml
Error: (converted from warning) packages ‘AnnotationDbi’, ‘GO.db’, ‘impute’, ‘preprocessCore’, ‘Rclusterpp’ are not available (for R version 3.5.1)
> R.Version()
$platform
[1] "x86_64-apple-darwin15.6.0"
$arch
[1] "x86_64"
$os
[1] "darwin15.6.0"
$system
[1] "x86_64, darwin15.6.0"
$status
[1] ""
$major
[1] "3"
$minor
[1] "5.1"
$year
[1] "2018"
$month
[1] "07"
$day
[1] "02"
$`svn rev`
[1] "74947"
$language
[1] "R"
$version.string
[1] "R version 3.5.1 (2018-07-02)"
$nickname
[1] "Feather Spray"
Hi @idc9 - just got a chance to look at this. I think root of your problem is:
Rclusterpp
is no longer available on CRAN and needs to be installed from [this GitHub repo].(https://github.com/nolanlab/Rclusterpp)WGCNA
depends on some packages on Bioconductor (‘AnnotationDbi’, ‘GO.db’, ‘impute’, ‘preprocessCore’
) and not CRAN.I'll add a note to the README about Rclusterpp
for now, and try to update the package to remove this deprecated dependency when I get a chance.
Thanks for reporting this. Let me know if the above solves your problems!
I've removed the dependence on Rclusterpp
and moved this to "Enhances:
" in the DESCRIPTION file in commit 55288e5. The package is no longer required, but if installed, can still be used with sigclust2
. The package passed R CMD build/check on machines with and without Rclusterpp
installed, so I'm going to close this issue.
Let me know if you still run into issues.
I'm getting a different error now
> devtools::install_github("pkimes/sigclust2")
Downloading GitHub repo pkimes/sigclust2@master
These packages have more recent versions available.
Which would you like to update?
1: dplyr (0.7.7 -> 0.7.8) [CRAN]
Enter one or more numbers separated by spaces, or an empty line to cancel
1:
Installing 26 packages: acepack, checkmate, data.table, DEoptimR, doParallel, dynamicTreeCut, fastcluster, fit.models, foreach, Formula, ggdendro, ggthemes, gridExtra, Hmisc, htmlTable, htmlwidgets, iterators, latticeExtra, matrixStats, mvtnorm, pcaPP, robust, robustbase, rrcov, viridis, WGCNA
Error: (converted from warning) dependencies ‘impute’, ‘preprocessCore’, ‘GO.db’, ‘AnnotationDbi’ are not available
‘impute’, ‘preprocessCore’, ‘GO.db’, ‘AnnotationDbi’ are Bioconductor packages. I think you should install them first.
Exactly what @SamGG said. (Thanks @SamGG !)
@idc9, Bioconductor is like CRAN, but contains genomics/bioinformatics packages: http://bioconductor.org/install/
Ah good point, I should have thought about that. You might add a message to the README e.g.
Some packages need to be installed from Bioconductor
BiocManager::install(c("impute", "preprocessCore", "GO.db", "AnnotationDbi"))
BTW, one can use BiocManager::install() for Bioconductor's packages but also CRAN's ones and github repos (without devtools).
One should try BiocManager::install("pkimes/sigclust2")
and maybe everything will be installed smoothly without the need of using different commands depending on the repository.
Thanks again, @SamGG!
@idc9 - I've updated the README to hopefully make installation easier for users. As pointed out by @SamGG, it looks like installing sigclust2
using a single call to BiocManager::install
should handle everything without requiring the user to install the Bioconductor dependencies separately first. (I've verified this on my own machine.) I've changed the recommended installation procedure to reflect this.
Thanks for your feedback and all your updates.
When I install the package using the provided instructions I encounter an error.
My R/computer setup is as follows