1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 11:11:54 +02:00

(v1.6.0.9060) unit tests

This commit is contained in:
2021-05-22 10:05:59 +02:00
parent adca43f8d9
commit fa2f5214b9
15 changed files with 22 additions and 21 deletions

Binary file not shown.

View File

@ -32,7 +32,7 @@ cat("Packages listed in Suggests:", paste(pkg_suggests, collapse = ", "), "\n")
to_install <- pkg_suggests[!pkg_suggests %in% rownames(utils::installed.packages())]
if (length(to_install) == 0) {
message("Nothing to install")
message("\nNothing to install\n")
}
for (i in seq_len(length(to_install))) {
cat("Installing package", to_install[i], "\n")
@ -45,7 +45,7 @@ for (i in seq_len(length(to_install))) {
to_update <- as.data.frame(utils::old.packages(repos = "https://cran.rstudio.com/"), stringsAsFactors = FALSE)
to_update <- to_update[which(to_update$Package %in% pkg_suggests), "Package", drop = TRUE]
if (length(to_update) == 0) {
message("Nothing to update")
message("\nNothing to update\n")
}
for (i in seq_len(length(to_update))) {
cat("Updating package", to_update[i], "\n")