Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [7s/9s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(bskyr)
  > 
  > test_check("bskyr")
  [ FAIL 26 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-actor_preferences.R:3:5'): `bs_get_preferences()` works ────────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.actor.getPreferences"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_preferences(auth = auth) at test-actor_preferences.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-actor_profile.R:3:5'): `bs_get_profile()` works ────────────────
  Error in `httr2::req_auth_bearer_token(req, token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_profile("chriskenny.bsky.social", auth = auth) at test-actor_profile.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-actor_search.R:3:5'): `bs_search_actors()` works ───────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request(base_url), 
      q = query), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_search_actors("political science", auth = auth) at test-actor_search.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-actor_suggestions.R:3:5'): `bs_get_actor_suggestions()` works ──
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.actor.getSuggestions"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_actor_suggestions("chriskenny.bsky.social", auth = auth) at test-actor_suggestions.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_author_feed.R:3:5'): `bs_get_author_feed()` works ─────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getAuthorFeed"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_author_feed("chriskenny.bsky.social", auth = auth) at test-feed_author_feed.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_feed.R:3:5'): `bs_get_feed()` works ───────────────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getFeed"), 
      feed = feed), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_feed(...) at test-feed_feed.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_feed_generator.R:3:5'): `bs_get_feed_generator()` works ───
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getFeedGenerator"), 
      feed = feed), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_feed_generator(...) at test-feed_feed_generator.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_feed_generators.R:3:5'): `bs_get_feed_generators()` works ──
  Error in `httr2::req_auth_bearer_token(req, token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_feed_generators(...) at test-feed_feed_generators.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_feeds.R:3:5'): `bs_get_feeds()` works ─────────────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getActorFeeds"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_feeds("chriskenny.bsky.social", auth = auth) at test-feed_feeds.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_get_posts.R:3:5'): `bs_get_posts()` works ─────────────────
  Error in `httr2::req_auth_bearer_token(req, token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_posts(...) at test-feed_get_posts.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_likes.R:3:5'): `bs_get_likes()` works ─────────────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getActorLikes"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_likes("chriskenny.bsky.social", auth = auth) at test-feed_likes.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_post_likes.R:3:5'): `bs_get_follows()` works ──────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getLikes"), 
      uri = uri), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_post_likes(...) at test-feed_post_likes.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_post_thread.R:3:5'): `bs_get_post_thread()` works ─────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getPostThread"), 
      uri = uri), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_post_thread(...) at test-feed_post_thread.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_reposts.R:3:5'): `bs_get_reposts()` works ─────────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getRepostedBy"), 
      uri = uri), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_reposts(...) at test-feed_reposts.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_suggestions.R:3:5'): `bs_get_feed_suggestions()` works ────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getSuggestedFeeds"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_feed_suggestions(auth = auth) at test-feed_suggestions.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-feed_timeline.R:3:5'): `bs_get_timeline()` works ───────────────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.feed.getTimeline"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_timeline(auth = auth) at test-feed_timeline.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_actor_lists.R:3:5'): `bs_get_actor_lists()` works ────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getLists"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_actor_lists("chriskenny.bsky.social", auth = auth) at test-graph_actor_lists.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_blocked_lists.R:3:5'): `bs_get_blocked_lists()` works ────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getListMutes"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_blocked_lists(auth = auth) at test-graph_blocked_lists.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_blocks.R:3:5'): `bs_get_blocks()` works ──────────────────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getBlocks"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_blocks(auth = auth) at test-graph_blocks.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_follow_suggestions.R:3:5'): `bs_get_follow_suggestions()` works ──
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getSuggestedFollowsByActor"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_follow_suggestions("chriskenny.bsky.social", auth = auth) at test-graph_follow_suggestions.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_followers.R:3:5'): `bs_get_followers()` works ────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getFollowers"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_followers("chriskenny.bsky.social", auth = auth) at test-graph_followers.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_follows.R:3:5'): `bs_get_follows()` works ────────────────
  Error in `httr2::req_auth_bearer_token(httr2::req_url_query(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getFollows"), 
      actor = actor), token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_follows("chriskenny.bsky.social", auth = auth) at test-graph_follows.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_muted_lists.R:3:5'): `bs_get_muted_lists()` works ────────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getListMutes"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_muted_lists(auth = auth) at test-graph_muted_lists.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-graph_mutes.R:3:5'): `bs_get_mutes()` works ────────────────────
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.graph.getMutes"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_mutes(auth = auth) at test-graph_mutes.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-notification_notification_count.R:3:5'): `bs_get_notification_count()` works ──
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.notification.getUnreadCount"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_notification_count(auth = auth) at test-notification_notification_count.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  ── Error ('test-notification_notifications.R:3:5'): `bs_get_notifications()` works ──
  Error in `httr2::req_auth_bearer_token(httr2::request("https://bsky.social/xrpc/app.bsky.notification.listNotifications"), 
      token = auth$accessJwt)`: `token` must be a single string, not `NULL`.
  Backtrace:
      ▆
   1. └─bskyr::bs_get_notifications(auth = auth) at test-notification_notifications.R:3:5
   2.   └─httr2::req_auth_bearer_token(token = auth$accessJwt)
   3.     └─httr2:::check_string(token)
   4.       └─httr2:::stop_input_type(...)
   5.         └─rlang::abort(message, ..., call = call, arg = arg)
  
  [ FAIL 26 | WARN 0 | SKIP 0 | PASS 0 ]
  Error: Test failures
  Execution halted