tests/testthat/helpers.R

form_id       <- 123823
submission_id <- 27685292
attachment_id <- 841793

skip_if_no_auth <- function() {
  if (identical(Sys.getenv("NETTSKJEMA_CLIENT_SECRET"), "")) {
    testthat::skip("No authentication available")
  }
}

Try the nettskjemar package in your browser

Any scripts or data that you put into this service are public.

nettskjemar documentation built on April 4, 2025, 12:22 a.m.