Skip to content

Commit

Permalink
fix the current_date type to character
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasmine authored Apr 20, 2021
1 parent 8c06358 commit 1172a9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/main.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
## include some logic to only run this when Sys.Date() changes, the rest can run every 15 minutes.

0 comments on commit 1172a9e

Please sign in to comment.