mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 18:01:50 +02:00
(v1.7.1.9068) new logo, unit tests
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user