Skip to content

Commit

Permalink
Merge pull request #84 from inbo/Remove-doc-helper-functions
Browse files Browse the repository at this point in the history
Remove doc helper functions
  • Loading branch information
damianooldoni authored Feb 17, 2020
2 parents 4c99aa2 + a6a8aa9 commit 5381e83
Show file tree
Hide file tree
Showing 47 changed files with 581 additions and 1,932 deletions.
4 changes: 4 additions & 0 deletions R/get_animals.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ get_animals <- function(connection,
#' This function retrieves all unique scientific names
#' @param connection A valid connection to ETN database.
#'
#' @keywords internal
#'
#' @noRd
#'
#' @importFrom glue glue_sql
#' @importFrom DBI dbGetQuery
#'
Expand Down
4 changes: 3 additions & 1 deletion R/get_detections.R
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,9 @@ get_detections <- function(connection, network_project = NULL,
#'
#' @param connection A valid connection to ETN database.
#'
#' @export
#' @keywords internal
#'
#' @noRd
#'
#' @importFrom glue glue_sql
#' @importFrom DBI dbGetQuery
Expand Down
16 changes: 15 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ MAX_PRINT <- 20
#'
#' @param connection A valid connection with the ETN database.
#'
#' @keywords internal
#'
#' @noRd
#'
#' @importFrom methods is
#'
check_connection <- function(connection) {
Expand All @@ -21,6 +25,10 @@ check_connection <- function(connection) {
#'
#' @return If no error, TRUE.
#'
#' @keywords internal
#'
#' @noRd
#'
#' @importFrom assertthat assert_that
#' @importFrom glue glue
#'
Expand Down Expand Up @@ -79,6 +87,10 @@ check_null_or_value <- function(arg, options = NULL, arg_name) {
#' @param regex A regular expression to parse
#' @param ... Additional arguments passed to the collapse
#'
#' @keywords internal
#'
#' @noRd
#'
#' @importFrom glue glue_collapse
collapse_transformer <- function(regex = "[*]$", ...) {
function(code, envir) {
Expand All @@ -100,6 +112,9 @@ collapse_transformer <- function(regex = "[*]$", ...) {
#'
#' @return FALSE | character
#'
#' @keywords internal
#'
#' @noRd
#'
#' @importFrom glue glue
#' @importFrom lubridate parse_date_time
Expand All @@ -126,4 +141,3 @@ check_datetime <- function(datetime, date_name = "start_date") {
} })
as.character(parsed)
}

20 changes: 16 additions & 4 deletions docs/404.html

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

7 changes: 7 additions & 0 deletions docs/CODE_OF_CONDUCT.html

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

Loading

0 comments on commit 5381e83

Please sign in to comment.