mirror of https://github.com/msberends/AMR.git
tinytest
This commit is contained in:
parent
75a4c1ef3e
commit
4a54d59f70
|
@ -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)
|
||||
|
|
2
NEWS.md
2
NEWS.md
|
@ -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!)*
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue