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

R Modules #3

Open
MattBixley opened this issue Jul 15, 2024 · 1 comment
Open

R Modules #3

MattBixley opened this issue Jul 15, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@MattBixley
Copy link
Contributor

MattBixley commented Jul 15, 2024

Simplification of R Modules.

Build one module for each version of R, eg 4.3.2, 4.3.3, 4.4.0 etc

Base starting point is a simplfied version of R-Geo containing the required system libraries GDAL, proj etc to enable the packages raster, sp, terra to be installed. Addtional libraries to be added by eri-apps-admin and install.packages()

Install

Use Pacman to install and update packages as required, link here gives example function for various install options. Base funstion will install from CRAN and Bioconductor.
pacman examples

install.packages("packman")
library(pacman)

p_load(devtools, BiocManager, tidyverse, tidymodels, renv, MASS, Matrix)
p_load(formatR, lambda.r, futile.options, futile.logger, perm, gridBase, registry, bibtex, rmapshaper)
p_load(ggExtra, ggmap, ggspatial, ggplot2movies, ggthemes, ggvis, gt, ggsci, kableExtra, gganimate, palmerpenguins)
p_load(limma, edgeR, vegan, ape, phyloseq, metagenomeSeq, metacoder, metacoderLite, metagenomeFeatures, metagenomeSeq)
p_load(sp, terra, raster, dismo, spData, units, abind, maptools, sf, stars, lwgeom, gstat, DCluster, gdistance, ipdw, spacetime, wk, s2, sftime, spdep, leaflet, mapview, osmdata, rasterVis, rmapshaper, tmap)

p_load(palmerpenguins)
p_load_gh("G-Thomson/Manu") # example Github Install

Fails

DESeq2 failed. Exit, Purge, Reload and install SparseArray, DelayedArray, SummarizedExperiment, DESeq2

BiocManager::install("DESeq2")

@MattBixley MattBixley self-assigned this Jul 15, 2024
@MattBixley MattBixley added the enhancement New feature or request label Jul 15, 2024
@MattBixley
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant