(v1.1.0.9009) lose dependencies

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-05-18 10:30:53 +02:00
1 parent 071bdc5a9e
commit bf0402a653
29 files changed
+405 -374

No files matched your search

+1 -1
View File
@@ -191,7 +191,7 @@ Function Bootstrap {
}
Progress "Downloading and installing travis-tool.sh"
cp "tests\appveyor\travis_tool.sh" "..\travis_tool.sh"
cp "tests\appveyor\travis_tool.sh" "..\travis-tool.sh"
# Invoke-WebRequest https://raw.githubusercontent.com/krlmlr/r-appveyor/master/r-travis/scripts/travis-tool.sh -OutFile "..\travis-tool.sh"
echo '@bash.exe ../travis-tool.sh %*' | Out-File -Encoding ASCII .\travis-tool.sh.cmd
cat .\travis-tool.sh.cmd
+9 -1
View File
@@ -188,5 +188,13 @@ test_that("first isolates work", {
test_unknown$mo <- ifelse(test_unknown$mo == "UNKNOWN", NA, test_unknown$mo)
expect_equal(sum(first_isolate(test_unknown)),
1062)
# shortcuts
expect_identical(filter_first_isolate(example_isolates),
subset(example_isolates, first_isolate(example_isolates)))
ex <- example_isolates
ex$keyab <- key_antibiotics(ex)
expect_identical(filter_first_weighted_isolate(example_isolates),
subset(example_isolates, first_isolate(ex)))
})