Skip to content

Release 2.5.0

Compare
Choose a tag to compare
@spgarbet spgarbet released this 27 Mar 13:19
· 1389 commits to main since this release
87988ee
  • IMPORTANT: The upcoming 3.0.0 release will be a breaking change for exportRecords. This is needed for full inversion of control to the user over type casting.
  • Fully removed deprecated redcapDbConnection
  • Added a drop= argument to exportRecords and exportReports. These columns are dropped before returning.
  • Metadata is cached in the connection object. In addition to token, url, and config elements, the following are also made available:
    • metadata
    • arms
    • events
    • fieldnames
    • mapping
    • users
    • version
    • projectInformation
      each of these has a companion function
    • has_* (returns a logical indicating if the element has been cached)
    • flush_* (removes the cached value)
    • refresh_* (replaces the cached value with a fresh call to the API)
      There are also flush_all and refresh_all methods.
  • New method: exportLogging
  • Fixed minor bugs in validations and improved documentation
  • Fixed bug in formating vectors for API calls in multiple places #33
  • Removed stringr and tidyr as dependencies
  • Removed unused version argument from checkbox_suffix
  • Fixed error thrown in export_users when labels=TRUE
  • Greatly expanded test coverage
  • mChoice class addition if Hmisc is installed