vubiostat / redcapAPI

R interface to REDCap (http://www.project-redcap.org/)
21 stars 27 forks source link

Correctly assign form_complete field types #382

Closed obregos closed 6 months ago

obregos commented 6 months ago

assign form_complete field type to fields where the form name followed by _complete is found

spgarbet commented 6 months ago

── R CMD check results ─────────────────────────────────────────── redcapAPI 2.9.2 ──── Duration: 1m 5.3s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

R CMD check succeeded

spgarbet commented 6 months ago

── Failed tests ─────────────────────────────────────────────────────────────────────── Error (test-050-makeApiCall.R:90:5): makeApiCall recovers from curl timeout gracefully Error in curl_fetch_memory(paste0(url, "/params"), handle = h): Timeout was reached: [redcap.vumc.org] Operation timed out after 1002 milliseconds with 0 bytes received Backtrace: ▆

  1. ├─base::structure(...) at test-050-makeApiCall.R:90:5
  2. └─curl::curl_fetch_memory(paste0(url, "/params"), handle = h)

[ FAIL 1 | WARN 0 | SKIP 9 | PASS 2051 ]