1
0
mirror of https://github.com/msberends/AMR.git synced 2025-08-13 12:45:14 +02:00

(v1.3.0.9025) optimalisation

This commit is contained in:
2020-09-19 15:15:57 +02:00
parent 2f0186ace2
commit a1411ddafc
15 changed files with 27 additions and 25 deletions

View File

@ -35,8 +35,9 @@ test_that("prediction of rsi works", {
expect_true(AMX_R[3] < AMX_R[20])
x <- resistance_predict(example_isolates, col_ab = "AMX", year_min = 2010, model = "binomial")
expect_success(y <- plot(x))
expect_success(y <- ggplot_rsi_predict(x))
pdf(NULL) # prevent Rplots.pdf being created
expect_silent(plot(x))
expect_silent(ggplot_rsi_predict(x))
expect_error(ggplot_rsi_predict(example_isolates))
library(dplyr)