Nothing
test_that("input error", {
expect_error(C_input())
expect_error(C_input("w"))
})
test_that("test EXAMPLE data", {
expect_equal(C_input(EXAMPLE_data)[7,],dplyr::tibble(year = 2019,
crop = "wheat, winter",
C_input = 1112,
C_input_org_amendment = 0,
C_input_crop = 1112,
C_input_cover_crop= 0))
expect_equal(C_input(EXAMPLE_data, extended.output = TRUE)[37,20],
dplyr::tibble(C_input_CC = 2197))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.