mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 13:42:04 +02:00
(v1.1.0.9009) lose dependencies
This commit is contained in:
@ -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
|
||||
|
@ -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)))
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user