From 9d27097ebb3594dbc2f8f8cc928efafa0469c2a4 Mon Sep 17 00:00:00 2001 From: Sander Devisscher Date: Fri, 29 Mar 2024 14:19:41 +0100 Subject: [PATCH] import keyring #20 --- NAMESPACE | 1 + R/get_access_token.R | 1 + 2 files changed, 2 insertions(+) diff --git a/NAMESPACE b/NAMESPACE index cca531a..9a86345 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -4,5 +4,6 @@ export("%>%") export(get_access_token) export(get_fields) export(get_records) +import(keyring) importFrom(magrittr,"%>%") importFrom(rlang,.data) diff --git a/R/get_access_token.R b/R/get_access_token.R index 78e8d9a..09447c3 100644 --- a/R/get_access_token.R +++ b/R/get_access_token.R @@ -13,6 +13,7 @@ #' (in the console) using `keyring::key_set("iasset_password")`. #' Keyring uses secret environment variables on GitHub Actions. #' +#' @import keyring #' @examples \dontrun{get_access_token("my_username")} get_access_token <- function(username, quiet = FALSE) {