mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:00:48 +01:00
(v0.7.1.9102) lintr
This commit is contained in:
1 parent
59af355a89
commit
00cdb498a0
65 files changed
+620
-812
No files matched your search
@@ -41,9 +41,8 @@ test_that("data sets are valid", {
|
||||
|
||||
# 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 1:length(datasets)) {
|
||||
for (i in seq_len(length(datasets))) {
|
||||
dataset <- get(datasets[i], envir = asNamespace("AMR"))
|
||||
#print(paste("testing data set", datasets[i]))
|
||||
expect_identical(dataset_UTF8_to_ASCII(dataset), dataset)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user