View source: R/extract_grading.R
extract_grading | R Documentation |
extract_grading(grading_string)
grading_string |
A string in the format |
The grading as numeric value, e.g. 0.5, 2.0.
Other helpers:
map_ozcbi_forest()
,
reactable_ozcbi_forest()
testthat::expect_equal(extract_grading("0.0_test"), 0.0)
testthat::expect_equal(extract_grading("0.5_test"), 0.5)
testthat::expect_equal(extract_grading("1.0_test"), 1.0)
testthat::expect_equal(extract_grading("1.5_test"), 1.5)
testthat::expect_equal(extract_grading("2.5_test-with-long-label"), 2.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.