Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new log tables(10, 11, 12) #170

Merged
merged 5 commits into from
Nov 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions data-raw/project_life_cycle_descriptions.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
project_life_cycle_descriptions <- c(
# Latest addition
"Move project to Production status (delete all records)",
# modern values from Spring 2023
"Add/edit survey login settings",
"Approve production project modifications",
Expand Down
5 changes: 4 additions & 1 deletion data-raw/redcap_log_event.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ log_event_tables <- c(
"redcap_log_event6",
"redcap_log_event7",
"redcap_log_event8",
"redcap_log_event9"
"redcap_log_event9",
"redcap_log_event10",
"redcap_log_event11",
"redcap_log_event12"
)

# write the test data
Expand Down
Binary file modified data/log_event_tables.rda
Binary file not shown.
Binary file modified data/project_life_cycle_descriptions.rda
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/testthat/test-project_life_cycle.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ testthat::test_that("get_project_life_cycle caches and returns event_date, log_e
testthat::expect_true(all.equal(result, cached_result))
testthat::expect_equal("Date", class(result$event_date))
testthat::expect_equal(
result$log_event_table %in% seq(1:9),
result$log_event_table %in% seq(1:12),
rep(TRUE, nrow(result))
)
testthat::expect_equal(
Expand Down
Loading