From 5f64d09260875bc344eb7a12d7d597a2c3094166 Mon Sep 17 00:00:00 2001 From: Dirk Eddelbuettel Date: Sun, 28 Aug 2022 16:16:37 -0500 Subject: [PATCH] minor edits as discussed in #103, add ChangeLog entry --- ChangeLog | 9 +++++++++ inst/examples/installBioc.r | 9 ++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2d6b5a7..e0b591b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2022-08-28 Dirk Eddelbuettel + + * inst/examples/installBioc.r: + +2022-08-24 Pieter Moris + + * inst/examples/installBioc.r: Generalization, extension and extra + features similar to how install2.r generalizes install2.r + 2022-07-16 Dirk Eddelbuettel * inst/examples/r2u.r: Add simple r2u.r frontend diff --git a/inst/examples/installBioc.r b/inst/examples/installBioc.r index 6580084..25d1384 100755 --- a/inst/examples/installBioc.r +++ b/inst/examples/installBioc.r @@ -2,7 +2,8 @@ # # Install a package from BioConductor # -# Copyright (C) 2020 - Dirk Eddelbuettel +# Copyright (C) 2020 - 2022 Dirk Eddelbuettel +# Copyright (C) 2022 - 2022 Dirk Eddelbuettel and Pieter Moris # # Released under GPL (>= 2) @@ -35,7 +36,9 @@ package 'BiocManger' which has be installed. Examples: installBioc.r -l /tmp/lib S4Vectors # install into given library installBioc.r --update Biobase # install package and update older packages - installBioc.r --deps NA --error --skipinstalled # install package without suggested dependencies, throw an error on installation failure and skip packages that are already present + installBioc.r --deps NA --error --skipinstalled # install package without suggested dependencies, + # throw an error on installation failure and skip + # packages that are already present installBioC.r is part of littler which brings 'r' to the command-line. See http://dirk.eddelbuettel.com/code/littler.html for more information.\n") @@ -43,7 +46,7 @@ See http://dirk.eddelbuettel.com/code/littler.html for more information.\n") } if (!requireNamespace("BiocManager", quietly=TRUE)) { - stop("Please install 'BiocManager' first, for example via 'install2.r BiocManager'.", call.=FALSE) + stop("Please install 'BiocManager' first, for example via 'install.r BiocManager'.", call.=FALSE) } ## set repository to empty character vector if not supplied, since