Skip to content

Commit

Permalink
final checks
Browse files Browse the repository at this point in the history
  • Loading branch information
yannikbuhl committed Jan 29, 2025
1 parent db36df4 commit 843e4f9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions R/gen_auth.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#' gen_auth_save
#' Save database credentials
#'
#' @description Save credentials of the different databases for further convenient use
#'
Expand All @@ -8,9 +8,9 @@
#' @details Username and password are encrypted and saved as RDS in the
#' package config directory. A random string is generated and stored in the
#' session environment variable `GENESIS_KEY`. This string is used as the key
#' to encrypt and decrypt the entered credentials. To avoid havding to save
#' to encrypt and decrypt the entered credentials. To avoid having to save
#' authentication in future sessions, `GENESIS_KEY` can be added to .Renviron.
#' The usethis package includes a helper function for editing .Renviron files
#' The `{usethis}` package includes a helper function for editing .Renviron files
#' from an R session with [usethis::edit_r_environ()].
#'
#' @return Path to the RDS file in which credentials are saved, invisibly.
Expand Down Expand Up @@ -86,7 +86,7 @@ gen_auth_save <- function(database,

#-------------------------------------------------------------------------------

#' gen_auth_get
#' Retrieve database credentials
#'
#' @description Function to retrieve the credentials stored via \code{gen_auth_save()}
#'
Expand Down Expand Up @@ -313,7 +313,7 @@ gen_auth_get <- function(database) {

#-------------------------------------------------------------------------------

#' gen_auth_ask
#' Helper function for authentication purposes
#'
#' @param credential_type Character string. Type of credential to ask for
#'
Expand All @@ -335,7 +335,7 @@ gen_auth_ask <- function(credential_type) {

#-------------------------------------------------------------------------------

#' gen_auth_path
#' Helper function for authentication purposes
#'
#' @param ... Optional arguments for file.path()
#'
Expand Down
4 changes: 2 additions & 2 deletions man/gen_auth_ask.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/gen_auth_get.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/gen_auth_path.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/gen_auth_save.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 843e4f9

Please sign in to comment.