# vim:textwidth=80:expandtab:shiftwidth=4:softtabstop=4
library(oce)
test_that("air density at 0C and 100kPa", {
# test value from <https://en.wikipedia.org/wiki/Density_of_air>
expect_equal(1.2754, airRho(0, 1e5), tolerance = 0.001)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.