test_that("use", {
expect_equal(1 + 1, 2) # Prevents testthat warning for empty test
if (!plinkr::is_on_ci()) return()
if (!is_gcae_script_fixed()) return()
expect_silent(
get_gcae_required_python_packages()
)
expect_true(
tibble::is_tibble(
get_gcae_required_python_packages()
)
)
})
test_that("need to clone the repo", {
gcae_options <- create_gcae_options(gcae_folder = get_gcaer_tempfilename())
expect_error(
get_gcae_required_python_packages(gcae_options = gcae_options),
"Tip: run 'gcaer::clone_gcae_repo"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.