arena icon indicating copy to clipboard operation
arena copied to clipboard

init_packages.R: enhance to the R script

Open laurivesa opened this issue 1 year ago • 0 comments

add one new argument (warn.conflicts = FALSE) to this library-function call:

usePackage <- function(name) { if (!require(name, character.only = TRUE, quietly = TRUE)) install.packages(name, dep =TRUE) library(name, character.only = TRUE, quietly = TRUE, warn.conflicts = FALSE) }

This will show less warnings when a R projects gets started.

laurivesa avatar Jun 01 '23 07:06 laurivesa