From aceccd75e88bd4caee6315040de2fcf81ef81ed5 Mon Sep 17 00:00:00 2001 From: Arnfinn Hykkerud Steindal Date: Fri, 17 Jan 2025 09:20:23 +0100 Subject: [PATCH] oppdater eksempler --- R/autoReport.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/autoReport.R b/R/autoReport.R index 5f3d1382..78dffc96 100644 --- a/R/autoReport.R +++ b/R/autoReport.R @@ -141,7 +141,7 @@ deleteAutoReport <- function(autoReportId, target = "db") { #' @export #' #' @examples -#' readAutoReportData() +#' readAutoReportData(target = "file") readAutoReportData <- function(fileName = "autoReport.yml", packageName = "rapbase", target = "db") { @@ -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"))