test_that("Object type 'N' must be numeric",{expect_error( summarize_N_from_C(datateachr::vancouver_trees, cultivar_name , cultivar_name ))
}
)
test_that("Object type 'C' must be character class",{expect_error( summarize_N_from_C(datateachr::vancouver_trees, diameter , diameter ))
}
)
test_that("Check that the function must have a dataframe ",{expect_true(is.data.frame((datateachr::vancouver_trees )))
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.