Running 'testthat.R' [12s/62s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(viafr)
  > 
  > test_check("viafr")
  -- ERROR (test_get.R:4:3): query list ------------------------------------------
  Error: Timeout was reached: [www.viaf.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       x
    1. +-testthat::expect_equal(unlist(viaf_get(list("102333412"))), unlist(viaf_get("102333412"))) test_get.R:4:2
    2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
    3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
    4. +-base::unlist(viaf_get(list("102333412")))
    5. \-viafr::viaf_get(list("102333412"))
    6.   +-map(query, viaf_retrieve, ...) %>% map(get_identifier) %>% dplyr::bind_rows()
    7.   | \-base::eval(lhs, parent, parent)
    8.   |   \-base::eval(lhs, parent, parent)
    9.   \-purrr::map(query, viaf_retrieve, ...)
   10.     \-viafr:::.f(.x[[i]], ...)
   11.       \-cli$get(query = args)
   12.         \-private$make_request(rr)
   13.           \-crul:::crul_fetch(opts)
   14.             \-curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  -- ERROR (test_get.R:15:3): empty query ----------------------------------------
  Error: Timeout was reached: [www.viaf.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       x
    1. +-testthat::expect_warning(result <- viaf_get("")) test_get.R:15:2
    2. | \-testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. |   +-testthat:::.capture(...)
    4. |   | \-base::withCallingHandlers(...)
    5. |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. \-viafr::viaf_get("")
    7.   +-map(query, viaf_retrieve, ...) %>% map(get_identifier) %>% dplyr::bind_rows()
    8.   | \-base::eval(lhs, parent, parent)
    9.   |   \-base::eval(lhs, parent, parent)
   10.   \-purrr::map(query, viaf_retrieve, ...)
   11.     \-viafr:::.f(.x[[i]], ...)
   12.       \-cli$get(query = args)
   13.         \-private$make_request(rr)
   14.           \-crul:::crul_fetch(opts)
   15.             \-curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  -- ERROR (test_get.R:24:3): valid query ----------------------------------------
  Error: Timeout was reached: [www.viaf.org] Resolving timed out after 10000 milliseconds
  Backtrace:
       x
    1. \-viafr::viaf_get("102333412") test_get.R:24:2
    2.   +-map(query, viaf_retrieve, ...) %>% map(get_identifier) %>% dplyr::bind_rows()
    3.   | \-base::eval(lhs, parent, parent)
    4.   |   \-base::eval(lhs, parent, parent)
    5.   \-purrr::map(query, viaf_retrieve, ...)
    6.     \-viafr:::.f(.x[[i]], ...)
    7.       \-cli$get(query = args)
    8.         \-private$make_request(rr)
    9.           \-crul:::crul_fetch(opts)
   10.             \-curl::curl_fetch_memory(x$url$url, handle = x$url$handle)
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:4:3): query list ------------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  Problem with `mutate()` input `source_ids`.
  i `cols` is now required when using unnest().
  Please use `cols = c(value)`
  i Input `source_ids` is `map(...)`.
  
  -- Warning (test_suggest.R:33:3): valid query ----------------------------------
  `cols` is now required when using unnest().
  Please use `cols = c(value)`
  
  -- Warning (test_utils.R:7:3): invalid query -----------------------------------
  Query to https://viaf.org/viaf/10233341/ failed with status code 404.
  
  == testthat results  ===========================================================
  ERROR (test_get.R:4:3): query list
  ERROR (test_get.R:15:3): empty query
  ERROR (test_get.R:24:3): valid query
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:4:3): query list
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_suggest.R:33:3): valid query
  Warning (test_utils.R:7:3): invalid query
  
  [ FAIL 3 | WARN 61 | SKIP 0 | PASS 34 ]
  Error: Test failures
  Execution halted