1
0
mirror of https://github.com/msberends/AMR.git synced 2025-08-17 22:13:16 +02:00
This commit is contained in:
2022-09-23 15:18:55 +02:00
parent 729eff0a9d
commit f8b21cdf72
16 changed files with 22 additions and 23 deletions

View File

@@ -36,7 +36,10 @@ if (identical(Sys.getenv("R_RUN_TINYTEST"), "true")) {
library(AMR)
# set language
set_AMR_locale("English")
# get trimws() and strrep() if on old R
# get dir.exists(), trimws() and strrep() if on old R
if (getRversion() < "3.2.0") {
dir.exists <- AMR:::dir.exists
}
if (getRversion() < "3.3.0") {
trimws <- AMR:::trimws
strrep <- AMR:::strrep