devtools::document() in build_r_data_package() when devtools is not available.test-build_r_pkg.R expectations based on devtools availability.fix issue in test-export.R - it could/would fail if there was a time out related to CURL. Fix looks for an error and if the error is curl related the testing is skipped. Other errors will still be thrown.
archer01_csv <- export_core(uri = 'https://bbmc.ouhsc.edu/redcap/api/', token = '9A81268476645C4E5F03428B8AC3AA7B') Getting Project Info Error in curl::curl_fetch_memory(uri, handle = h) : Timeout was reached [bbmc.ouhsc.edu]: Connection timed out after 10001 milliseconds Calls: export_core ... export_content ->
-> raise_libcurl_error Execution halted
|> operator so that the package code
has more backward compatibility.as.data.table only return data.frames. End users can then coerce the
data.frame to a tibble or data.table if they prefer.improved the internal read_text function's checking of the Content-Type from
the raw data.
formatting of data from json
col_type handling of checkboxes
col_type correctly sets character instead of factor for "completed" fields
format_record a S3 generic.
record no longer
exists, use the generic argument xrcer_rccore object so the metadata
or the col_type does not need to be explicitly defined.format_record so columns not explicitly defined in the
col_type are returned. Prior version would have omitted the columns. This
also allows for redcap_* columns to pass through (#9)Initial release.