test_that("Does 'auth_client' function for auth work?", {
arcgisutils::unset_arc_token()
# ensure .Renviron has variables set, restart R session
token <- arcgis_auth()
expect_true("httr2_token" %in% class(token))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.