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

(v1.7.1.9068) new logo, unit tests

This commit is contained in:
2021-12-12 11:07:02 +01:00
parent 56f1ce328a
commit 1e66a3daf3
141 changed files with 21215 additions and 4067 deletions

View File

@ -49,8 +49,8 @@ expect_true(all(dosage$name %in% antibiotics$name))
expect_identical(as.ab(antibiotics$name), antibiotics$ab)
# check if all languages are included in package environmental variable
expect_identical(sort(c("en", colnames(TRANSLATIONS)[nchar(colnames(TRANSLATIONS)) == 2])),
unname(LANGUAGES_SUPPORTED))
expect_identical(sort(c("en", colnames(AMR:::TRANSLATIONS)[nchar(colnames(AMR:::TRANSLATIONS)) == 2])),
unname(AMR:::LANGUAGES_SUPPORTED))
# there should be no diacritics (i.e. non ASCII) characters in the datasets (CRAN policy)
datasets <- data(package = "AMR", envir = asNamespace("AMR"))$results[, "Item"]