Skip to content

Commit

Permalink
Merge branch 'release/1.14.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
pbchase committed Aug 24, 2023
2 parents 7cd5af6 + 2610f1e commit 07ebc86
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: redcapcustodian
Type: Package
Title: Data automation for R-centric workflows with a nod towards REDCap
Version: 1.14.0
Version: 1.14.1
Authors@R: c(
person("Philip", "Chase",
email = "[email protected]",
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# redcapcustodian 1.14.1 (released 2023-08-24)
- Update etl/delete_erroneous_survey_reminders.R (Philip Chase)

# redcapcustodian 1.14.0 (released 2023-08-14)
- Fix build issues on Apple silicon (@pbchase, #133, #134)
- Add delete_erroneous_survey_reminders.R (@pbchase, #131, #132)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.0
1.14.1
2 changes: 1 addition & 1 deletion etl/delete_erroneous_survey_reminders.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if (nrow(reminders_to_deactivate) > 0) {
sql_reminders_to_delete <-
paste(
"delete from redcap_surveys_scheduler_queue where ssq_id in (",
paste(reminders_to_deactivate$ssq_id, collapse = " "),
paste(reminders_to_deactivate$ssq_id, collapse = ","),
");"
)
rows_to_be_deleted <- tbl(rc_conn, "redcap_surveys_scheduler_queue") %>%
Expand Down
2 changes: 1 addition & 1 deletion study_template/cron/delete_erroneous_survey_reminders
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Run delete_erroneous_survey_reminders daily.
# Increase the frequency as needed to address more frequent survey reminders
# 5 7 * * * root /usr/bin/docker run --rm --env-file /rcc/example/.env redcapcustodian Rscript redcapcustodian/etl/delete_erroneous_survey_reminders.R
# 5 7 * * * root /usr/bin/docker run --rm --env-file /rcc/example/.env redcapcustodian Rscript etl/delete_erroneous_survey_reminders.R

0 comments on commit 07ebc86

Please sign in to comment.