NKI-CCB / ppbc

Post-partum breast cancer
MIT License
1 stars 0 forks source link

R environment cannot be installed #14

Closed tychobismeijer closed 2 years ago

tychobismeijer commented 2 years ago

Installation of renv fails for me, so this needs to be fixed or documented how installation is supposed to work.

Retrieving 'https://cloud.r-project.org/src/contrib/Archive/apeglm/apeglm_1.12.0.tar.gz' ...
Warning: failed to find source for 'bbmle 1.0.24' in package repositories
Warning: failed to find source for 'numDeriv 2020.2-1' in package repositories
Warning: failed to retrieve 'https://cloud.r-project.org/src/contrib/Archive/numDeriv/numDeriv_2020.2-1.tar.gz' [error code 22]
Warning: failed to retrieve 'https://cloud.r-project.org/src/contrib/Archive/apeglm/apeglm_1.12.0.tar.gz' [error code 22]
Error: failed to retrieve package 'apeglm@1.12.0'
In addition: Warning messages:
1: curl: (22) The requested URL returned error: 404  
2: failed to find source for 'bbmle 1.0.24' in package repositories 
3: curl: (22) The requested URL returned error: 404  
4: curl: (22) The requested URL returned error: 404  
Traceback (most recent calls last):
9: renv:::restore()
8: renv_restore_run_actions(project, diff, current, lockfile, rebuild)
7: retrieve(packages)
6: handler(package, renv_retrieve_impl(package))
5: renv_retrieve_impl(package)
4: renv_retrieve_bioconductor(record)
3: renv_retrieve_repos(record)
2: stopf("failed to retrieve package '%s'", renv_record_format_remote(record))
1: stop(sprintf(fmt, ...), call. = call.)
Execution halted
ksm113 commented 2 years ago

That's a bummer. apeglm is an important package for the RNAseq analysis. I was able to find it here but there's no remotes::install_version() for Bioconductor that I know of. Do you have a suggestion for a workaround or appropriate documentation?

tychobismeijer commented 2 years ago

I don't think the problem is specifically apeglm. Somehow, renv doesn't want to install from Bioconductor in this way.