Skip to content

Commit

Permalink
Fix minor package issues
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy committed Dec 19, 2024
1 parent 4114f15 commit 9587f04
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Imports:
Suggests:
testthat (>= 3.0.0),
tibble,
utils
utils,
VignetteBuilder:
knitr
ByteCompile: true
Expand Down
2 changes: 1 addition & 1 deletion R/auth.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ auth_from_secret <- function(app_name, token, access_token, refresh_token, cache
# This sets up the app creds no matter which way authorization is called
app_set_up <- function(app_name = "google") {
decrypted <- openssl::aes_cbc_decrypt(
readRDS(encrypt_creds_path("google")),
readRDS(encrypt_creds_path()),
key = readRDS(key_encrypt_creds_path())
)

Expand Down
5 changes: 2 additions & 3 deletions R/github_handling.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ get_github <- function(token = NULL, url) {
#'
#' Given an repository on GitHub, retrieve the pages URL for it.
#'
#' @param repo_name The full name of the repo to get bookdown chapters from.
#' e.g. "jhudsl/OTTR_Template"
#' @param repo_name The full name of the repo to get chapters from. e.g. 'jhudsl/OTTR_Template'
#' @param token If private repositories are to be retrieved, a github personal
#' access token needs to be supplied. Run `authorize("github")` to set this.
#' @param verbose TRUE/FALSE do you want more progress messages?
Expand Down Expand Up @@ -202,7 +201,7 @@ get_repo_info <- function(repo_name,
#'
#' @export
#'
#' @examples \dontrun {
#' @examples \dontrun{
#'
#' authorize("github")
#' check_git_repo("jhudsl/OTTR_Template")
Expand Down

0 comments on commit 9587f04

Please sign in to comment.