Skip to content

Commit

Permalink
oppdater eksempler
Browse files Browse the repository at this point in the history
  • Loading branch information
arnfinn committed Jan 17, 2025
1 parent a7338b0 commit aceccd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/autoReport.R
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ deleteAutoReport <- function(autoReportId, target = "db") {
#' @export
#'
#' @examples
#' readAutoReportData()
#' readAutoReportData(target = "file")
readAutoReportData <- function(fileName = "autoReport.yml",
packageName = "rapbase",
target = "db") {
Expand Down Expand Up @@ -387,7 +387,7 @@ writeAutoReportData <- function(fileName = "autoReport.yml", config,
#'
#' @examples
#' ar <- list(ar1 = list(type = "A"), ar2 = list(type = "B"))
#' filterAutoRep(ar, "type", "B") # ar2
#' filterAutoRep(ar, "type", "B", target = "file") # ar2
#'
filterAutoRep <- function(data, by, pass, target = "db") {
stopifnot(by %in% c("package", "type", "owner", "organization"))
Expand Down

0 comments on commit aceccd7

Please sign in to comment.