NEWS
redcapAPI 1.3.5
redcapAPI 1.3.2
- Bug fix. Changed the call to fieldToVar in exportReports; was incorrectly referencing the meta_data field names. Thanks to Will Campbell for finding this bug.
redcapAPI 1.3.1
- Changed the default 'config' argument in 'redcapConnection' from 'config=list()'
to 'config=httr::config()'.
- Added code to allow all errors from 'apiCall' to be returned correctly.
redcapAPI 1.3 (2015-03-14)
- The Maintainer has been changed to Stephen Lane
- Bug fix: The REDCap API Error message for 'exportEvents', 'exportArms', and
'exportMappings' changed between versions 5.x and 6.0. In 5.x, the error
message is "You cannot export arms for classic projects." In 6.0+, it is
"ERROR: You cannot export arms for classic projects." The change causes
'exportEvents', 'exportArms', and 'exportMappings' to cast an error instead
of returning the character string with the error. The bug fix accommodates
the error messages from both 5.x and 6.0+.
## Changes in Version 1.2 (2015-02-01)
- Code has been rewritten to make use of the 'roxygen2' documentation style.
- The function 'allocationTable' is added. This assists in producing
allocation tables for the randomization module.
- Offline versions for 'exportRecords' and 'allocationTable' are
included. These produce output identical to the API calls, but
operate based on the csv's downloaded via the user interface.
## Changes in Version 1.1 (2014-10-01)
- redcapAPI now depends on R 3.0.0 or higher
- A bug fix was added. When specifying the 'fields' and 'forms' arguments
in 'exportRecords', only the variables in 'fields' were being converted
to the appropriate data types. This has been corrected.
- redcapAPI requires Hmisc 3.14-6 or higher. This is a consequence of
the following item. Please update your Hmisc package.
- The Hmisc package was moved from the Suggests field to the Imports
field. This reflects the addition of some of the label functions in
Hmisc being explicitly exported, making them available to import.
## Changes in Version 1.0.1 (2014-10-20)
- Bug fix: in 'importRecords' meta data was not previously exported
when a project info object was not provided. This is now corrected
- Bug fix: in ‘exportRecords' and 'exportReports', the checkbox labels
weren’t being returned as factor levels when 'checkboxLabels=TRUE'.
The behavior is now consistent with expectations.
- Bug fix: in 'compareRedcapVersion', a logical check was failing due
to an omitted argument in 'grepl'. This has been corrected.
- added function ‘apiCall'. This wraps a call to 'tryCatch'. If a
Gnu/TLS recv error is returned, the encoding is changed from ’gzip'
to 'identity' to successfully retrieve the API response.
- 'tryCatch' calls are added to 'redcapProjectInfo' to prevent fatal
errors when one of the API functions casts an error. The output
is modified to indicate where the problem occurred. This is most
likely to affect 'exportUsers'. An unresolved issue behind this is
logged in the issues on GitHub.