1
0
mirror of https://github.com/msberends/AMR.git synced 2025-08-19 14:22:11 +02:00
This commit is contained in:
2022-10-03 14:34:45 +02:00
parent 75e05a201a
commit 9cbc1d4f16
23 changed files with 245 additions and 211 deletions

View File

@@ -40,7 +40,7 @@ if (identical(Sys.getenv("R_RUN_TINYTEST"), "true")) {
library(AMR)
# set language
set_AMR_locale("English")
# get dir.exists(), trimws() and strrep() if on old R
# set some functions if on old R
if (getRversion() < "3.2.0") {
anyNA <- AMR:::anyNA
dir.exists <- AMR:::dir.exists
@@ -54,6 +54,7 @@ if (identical(Sys.getenv("R_RUN_TINYTEST"), "true")) {
}
if (getRversion() < "3.5.0") {
isFALSE <- AMR:::isFALSE
# trims() was introduced in 3.3.0, but its argument `whitespace` only in 3.5.0
trimws <- AMR:::trimws
}
if (getRversion() < "3.6.0") {