This commit is contained in:
dr. M.S. (Matthijs) Berends 2023-02-06 14:36:31 +01:00
parent 75a4c1ef3e
commit 4a54d59f70
3 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Package: AMR
Version: 1.8.2.9108
Version: 1.8.2.9109
Date: 2023-02-06
Title: Antimicrobial Resistance Data Analysis
Description: Functions to simplify and standardise antimicrobial resistance (AMR)

View File

@ -1,4 +1,4 @@
# AMR 1.8.2.9108
# AMR 1.8.2.9109
*(this beta version will eventually become v2.0! We're happy to reach a new major milestone soon!)*

View File

@ -39,6 +39,13 @@ if (tryCatch(isTRUE(AMR:::import_fn("isJob", "rstudioapi")()), error = function(
.libPaths(c(Sys.getenv("R_LIBS_USER_GH_ACTIONS"), .libPaths()))
if (AMR:::pkg_is_available("tinytest", also_load = TRUE)) {
library(AMR)
if (identical(AMR:::import_fn("select", "dplyr"), AMR:::select)) {
print("This test will rely on {dplyr} verbs")
message("This test will rely on {dplyr} verbs")
} else {
print("This test will rely on {poorman} verbs")
message("This test will rely on {poorman} verbs")
}
# set language
set_AMR_locale("English")
# set some functions if on old R