Skip to content

Commit

Permalink
Undo reorder for review simplicity
Browse files Browse the repository at this point in the history
  • Loading branch information
rsh52 committed Nov 1, 2024
1 parent bd9c7aa commit f335bf4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,23 +138,23 @@ link_arms <- function(redcap_uri,
# match field name of redcap_event_instruments() output
rename(arm_num = "arm_number")

db_event_labels <- try_redcapr(
db_event_instruments <- try_redcapr(
{
redcap_event_read(
redcap_event_instruments(
redcap_uri = redcap_uri,
token = token,
arms = NULL, # get all arms
verbose = !suppress_redcapr_messages
)
},
call = caller_env()
)

db_event_instruments <- try_redcapr(
db_event_labels <- try_redcapr(
{
redcap_event_instruments(
redcap_event_read(
redcap_uri = redcap_uri,
token = token,
arms = NULL, # get all arms
verbose = !suppress_redcapr_messages
)
},
Expand Down

0 comments on commit f335bf4

Please sign in to comment.