tests/testthat/test-unfinished_ratings.R

test_that("No unfinished ratings", {

    unfinished_rows <- c19stoppedtrials %>%
        dplyr::filter(covid19_explicit) %>%
        dplyr::filter(is.na(restart_expected)) %>%
        nrow()
    
    expect_equal(
        unfinished_rows,
        0
    )
    
})
bgcarlisle/ctcovidstop documentation built on Jan. 16, 2024, 4:55 a.m.