mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 13:21:50 +02:00
(v1.7.1.9067) Support for Swedish and Russian
This commit is contained in:
@ -48,6 +48,10 @@ expect_true(all(dosage$name %in% antibiotics$name))
|
||||
# antibiotic names must always be coercible to their original AB code
|
||||
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))
|
||||
|
||||
# there should be no diacritics (i.e. non ASCII) characters in the datasets (CRAN policy)
|
||||
datasets <- data(package = "AMR", envir = asNamespace("AMR"))$results[, "Item"]
|
||||
for (i in seq_len(length(datasets))) {
|
||||
|
Reference in New Issue
Block a user