This repository was archived by the owner on Oct 10, 2022. It is now read-only.

Description
test_check("HIBPwned")
── 1. Failure: account_breaches works for a single account (@test-account_breach
res[[acct]] inherits from NULL not data.frame.
── 2. Error: account_breaches works for a single account (@test-account_breaches
is.numeric(act$val) is not TRUE
1: expect_gt(ncol(res[[acct]]), 1) at testthat/test-account_breaches.R:13
2: expect_compare(">", act, exp)
3: stopifnot(is.numeric(act$val), length(act$val) == 1)
4: stop(msg, call. = FALSE, domain = NA)
── 3. Failure: account_breaches works for multiple accounts (@test-account_breac
res[[a]] inherits from NULL not data.frame.
── 4. Error: account_breaches works for multiple accounts (@test-account_breache
is.numeric(act$val) is not TRUE
1: expect_gte(ncol(res[[a]]), 1) at testthat/test-account_breaches.R:59
2: expect_compare(">=", act, exp)
3: stopifnot(is.numeric(act$val), length(act$val) == 1)
4: stop(msg, call. = FALSE, domain = NA)
── 5. Error: account_breaches can return a single data.frame (@test-account_brea
subscript out of bounds
1: account_breaches("steff.sullivan@gmail.com", as_list = FALSE) at testthat/test-account_breaches.R:126