@@ -325,11 +325,11 @@ redcap_read <- function(
325
325
min(selected_ids ), " through " , max(selected_ids ),
326
326
" (ie, " , length(selected_ids ), " unique subject records)."
327
327
)
328
- message(
329
- " \n Reading batch " , i , " of " , nrow(ds_glossary ), " , with subjects " ,
330
- paste(selected_ids , collapse = ' ,' ),
331
- " \n (ie, " , length(selected_ids ), " unique subject records)."
332
- )
328
+ # message(
329
+ # "\nReading batch ", i, " of ", nrow(ds_glossary), ", with subjects ",
330
+ # paste(selected_ids, collapse = ','),
331
+ # "\n(ie, ", length(selected_ids), " unique subject records)."
332
+ # )
333
333
}
334
334
read_result <- REDCapR :: redcap_read_oneshot(
335
335
redcap_uri = redcap_uri ,
@@ -400,10 +400,10 @@ redcap_read <- function(
400
400
ids_missing_rows <- setdiff(unique_ids , unique_ids_actual )
401
401
402
402
if (0L < length(ids_missing_rows )) {
403
- warning (sprintf(
403
+ stop (sprintf(
404
404
" There are %i subject(s) that are missing rows in the final dataset.\n Check for funny values that could trip up REDCap's PHP code:\n %s." ,
405
405
length(ids_missing_rows ),
406
- paste(ids_missing_rows , collapse = " ; " )
406
+ paste(ids_missing_rows , collapse = " , " )
407
407
))
408
408
}
409
409
0 commit comments