From 1172a9edd9af83c1a9578f40311b4535da8bc048 Mon Sep 17 00:00:00 2001 From: Jasmine Date: Tue, 20 Apr 2021 14:24:55 -0700 Subject: [PATCH] fix the current_date type to character --- R/main.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/main.R b/R/main.R index b3478bb..56e6602 100644 --- a/R/main.R +++ b/R/main.R @@ -3,7 +3,7 @@ #' #' @param database_path (character) Path to the database of awards and correspondences #' @param lastrun_path (character) Determines where the bot stores its state -#' @param current_date (date) today's date +#' @param current_date (character) today's date #' @param annual_report_time (numeric) time in months after 'start_date' to send the first annual report reminder #' @param initial_aon_offset (numeric)Number of months after award startDate to send first AON data due reminder #' @param aon_recurring_interval (numeric) Number of months to send recurring emails for AON data due @@ -49,7 +49,7 @@ main <- function(database_path = Sys.getenv('DATABASE_PATH'), #' #' @param database_path (character) Path to the database of awards and correspondences #' @param lastrun_path (character) Determines where the bot stores its state -#' @param current_date (date) today's date +#' @param current_date (character) today's date #' @param annual_report_time (numeric) time in months after 'start_date' to send the first annual report reminder #' @param initial_aon_offset (numeric)Number of months after award startDate to send first AON data due reminder #' @param aon_recurring_interval (numeric) Number of months to send recurring emails for AON data due @@ -83,4 +83,4 @@ test_main <- function(database_path = Sys.getenv('DATABASE_PATH'), } ## Run a separate cron bot that notifies with correspondences -## include some logic to only run this when Sys.Date() changes, the rest can run every 15 minutes. \ No newline at end of file +## include some logic to only run this when Sys.Date() changes, the rest can run every 15 minutes.