test_that("critical power functions work", {
expect_s3_class(
object = critical_power(
.data = demo_critical_power,
power_output_column = "PO",
time_to_exhaustion_column = "TTE",
plot = FALSE
),
class = "tbl_df"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.