tests/testthat/test_pipelines_run_args_good/pipe1.R

#' Simple mtcars print function
#'
#' This is a function that runs every hour starting at
#' 2024-03-01 09:00:00
#'
#' @maestroFrequency 1 day
#' @maestroStartTime 2024-03-01 09:00:00
#' @maestroTz UTC
#'
#'
#' @export
get_mtcars2 <- function(vals) {
  if (is.null(vals)) stop("Null vals")
  mean(vals)
}

Try the maestro package in your browser

Any scripts or data that you put into this service are public.

maestro documentation built on June 8, 2025, 10:44 a.m.