[R-sig-Debian] R Package: 'ggbreak' in Dockerfile
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Tue Oct 15 16:11:37 CEST 2024
Lauren,
On 15 October 2024 at 13:51, Gerber, Lauren J wrote:
| I just tried fixing my script and added library(BiocManager) before library
| (ggbreak), then rebuilt the image, and am still getting the same error.
You need _two_ distinct commands. First
install.packages("BiocManager")
and second once that is done use it to install 'ggbreak' from BioConductor
BiocManager::install("ggreak")
The two wrappers I showed in my earlier email do this for you, from the
command-line, which I find pleasant for both shell and docker use.
Preferences of course vary but the key here is that a) ggbreak is a
BioConductor package and b) you must use BiocManager::install() to install
those.
Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-SIG-Debian
mailing list