checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
Running ‘test-all.R’
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > if (packageVersion("testthat") >= "0.7.1.99") {
  +     library(testthat)
  +   test_check("rfigshare")
  + } else {
  +   library(testthat)
  +   test_package("rfigshare")
  + }
  Loading required package: rfigshare
  Saving _problems/test_figshare-8.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_figshare.R:8:1'): (code run outside of `test_that()`) ──────────
  Error: Please install xml2 package
  Backtrace:
      ▆
   1. └─rfigshare::fs_auth(...) at test_figshare.R:8:1
   2.   ├─base::warning(...)
   3.   ├─base::paste(...)
   4.   └─httr::content(response)
   5.     └─httr:::parse_auto(raw, type, encoding, ...)
   6.       └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   7.         └─httr:::need_package("xml2")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
Running 'test-all.R' [2s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > if (packageVersion("testthat") >= "0.7.1.99") {
  +     library(testthat)
  +   test_check("rfigshare")
  + } else {
  +   library(testthat)
  +   test_package("rfigshare")
  + }
  Loading required package: rfigshare
  Saving _problems/test_figshare-8.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_figshare.R:8:1'): (code run outside of `test_that()`) ──────────
  Error: Please install xml2 package
  Backtrace:
      ▆
   1. └─rfigshare::fs_auth(...) at test_figshare.R:8:1
   2.   ├─base::warning(...)
   3.   ├─base::paste(...)
   4.   └─httr::content(response)
   5.     └─httr:::parse_auto(raw, type, encoding, ...)
   6.       └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   7.         └─httr:::need_package("xml2")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
Running ‘test-all.R’ [3s/3s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > if (packageVersion("testthat") >= "0.7.1.99") {
  +     library(testthat)
  +   test_check("rfigshare")
  + } else {
  +   library(testthat)
  +   test_package("rfigshare")
  + }
  Loading required package: rfigshare
  Saving _problems/test_figshare-8.R
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_figshare.R:8:1'): (code run outside of `test_that()`) ──────────
  Error: Please install xml2 package
  Backtrace:
      ▆
   1. └─rfigshare::fs_auth(...) at test_figshare.R:8:1
   2.   ├─base::warning(...)
   3.   ├─base::paste(...)
   4.   └─httr::content(response)
   5.     └─httr:::parse_auto(raw, type, encoding, ...)
   6.       └─httr (local) parser(x = content, type = type, encoding = encoding, ...)
   7.         └─httr:::need_package("xml2")
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^
checkRd: (-1) fs_search.Rd:76: Lost braces
    76 | \\code{\link{fs_auth}} \code{\link{fs_browse}}
       |       ^