Skip to content

Commit

Permalink
Add noRd to non-exported functions
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksanderbl29 committed Nov 28, 2024
1 parent 7570d7d commit 7c987f0
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 116 deletions.
1 change: 1 addition & 0 deletions R/dst_correct_url.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#' Corrects url encoding for Danish letters.
#'
#' @param url A build url.
#' @noRd
dst_correct_url <- function(url) {
url <- stringr::str_replace_all(
string = url,
Expand Down
1 change: 1 addition & 0 deletions R/dst_date_parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#' @param dst_date A vector of length one or more with date formats like
#' 1982M12D09, 1982M12, 1982Q4 or 1982
#' @returns Returns the input date formatted to be Europe/Copenhagen
#' @noRd
dst_date_parse <- function(dst_date) {
tz <- "Europe/Copenhagen"

Expand Down
1 change: 1 addition & 0 deletions R/dst_find_val_id.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#' @param variable The variable to search in.
#' @param values_text Character vector. The values you want to extract the IDs
#' for. If NULL, the returned value will be "*".
#' @noRd
dst_find_val_id <- function(meta_data, variable, values_text = NULL) {
names(meta_data$values) <- toupper(names(meta_data$values))

Expand Down
1 change: 1 addition & 0 deletions R/dst_meta_parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#' @param meta The returned meta data from the function meta_dst.
#' @param lang The language from the orignal dst_meta function (due to an error
#' in the API)
#' @noRd
dst_meta_parse <- function(meta, lang) {
# Get basic info on the table.
# The basics contains a description on what
Expand Down
1 change: 1 addition & 0 deletions R/dst_query_match.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#' @param query query to match against
#' @param format Format to specify match for csv import (not used)
#'
#' @noRd
dst_query_match <- function(table, lang, meta_data, query, format) {
# if no meta data is supplied we download this to match the request.
if (is.null(meta_data)) {
Expand Down
1 change: 1 addition & 0 deletions R/dst_value_limit.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#'
#' @param query Query object to analyse
#' @param dst_meta Meta data to filer query with
#' @noRd
dst_value_limit <- function(query, dst_meta) {
# is the element in the list a "*"?
is_star <- lapply(query, function(x) {
Expand Down
14 changes: 0 additions & 14 deletions man/dst_correct_url.Rd

This file was deleted.

18 changes: 0 additions & 18 deletions man/dst_date_parse.Rd

This file was deleted.

21 changes: 0 additions & 21 deletions man/dst_find_val_id.Rd

This file was deleted.

21 changes: 0 additions & 21 deletions man/dst_meta_parse.Rd

This file was deleted.

22 changes: 0 additions & 22 deletions man/dst_query_match.Rd

This file was deleted.

20 changes: 0 additions & 20 deletions man/dst_value_limit.Rd

This file was deleted.

0 comments on commit 7c987f0

Please sign in to comment.