Skip to content

REDCapR 0.11.0

Compare
Choose a tag to compare
@wibeasley wibeasley released this 22 Apr 04:13
4ed4f01

Version 0.11 (Released 2020-04-20)

Breaking Changes (possible, but unlikely)

  • kernel_api() defaults to "text/csv" and UTF-8 encoding. Formerly, the function would decide on the content-type and encoding. More details are below in the 'Stability Features' subsection.

  • constant() no longer accepts simplify as an options. An integer vector is always returned. (#280)

New Features

Stability Features

  • httr::content() (which is inside kernel_api()) now processes the returned value as "text/csv", by default. This should prevent strange characters from tricking the process as the internal variable raw_text is being formed. See the [httr::content()](https://httr.r-lib.org/reference/content.html) documentation for a list of possible values for the content_type` parameter. (Thanks to great debugging by @vortexing #269, @sybandrew #272, & @begavett, #290)

  • Similarly, kernel_api() now has an encoding parameter, which defaults to "UTF-8". (#270)

Minor Enhancements

  • check for bad field names passed to the read records functions (#288)

Corrections

  • 'checkmate' package is now imported, not suggested (Thanks @dtenenba, #255)