tests/testthat/test_login.R

context("Login")

testthat::test_that("login() works", {
  vcr::use_cassette("login", {
    expect_error(login("test", "test"))
  })
})

Try the EDIutils package in your browser

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

EDIutils documentation built on May 6, 2026, 9:06 a.m.