inst/baseballstats/tests/testthat/test-batting_statistics.R

test_that('at_bats runs end-to-end', expect_true({
    AB <- at_bats(c('bb', 'k', '1b', 'hr'))
    TRUE
}))

Try the pkgnet package in your browser

Any scripts or data that you put into this service are public.

pkgnet documentation built on Dec. 23, 2021, 9:07 a.m.