Skip to content

Commit

Permalink
announce deprecated/renamed functions
Browse files Browse the repository at this point in the history
close #416
  • Loading branch information
wibeasley committed Sep 29, 2022
1 parent fb1c8f0 commit 314782a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ These features are not yet on CRAN. Install with `remotes::install_github(repo
* Better documentation for the server url (suggested by @sutzig #395)
* `read_read_oneshot()`'s parameter `guess_max` now allows floating point values to support `readr::read_csv()` ability to accept a Inf value. (Suggested by @eveyp, #392)
* pkgdown pages run & display the examples, but CRAN still doesn't run them. It's illegal to call external resources/APIs from CRAN computers --mostly because they are occasionally unavailable, so the code breaks. (#419)
* Renamed some functions to follow a consistent pattern. Old names will be soft-deprecated for a while before being removed. (#416)
* `redcap_download_file_oneshot()` to `redcap_file_download_opneshot()`
* `redcap_file_upload_oneshot()` to `redcap_file_upload_opneshot()`
* `redcap_download_instrument()` to `redcap_instrument_download()`

Version 1.1.0 (released 2022-08-10)
==========================================================
Expand Down
14 changes: 11 additions & 3 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,17 @@ reference:
- redcap_write_oneshot
- redcap_delete
- redcap_report
- redcap_download_file_oneshot
- redcap_upload_file_oneshot
- redcap_file_download_oneshot
- redcap_file_upload_oneshot

- title: "Additional API Methods"
desc: >
Accessing other information from the REDCap project or server.
contents:
- redcap_arm_export
- redcap_dag_read
- redcap_download_instrument
- redcap_event_instruments
- redcap_instrument_download
- redcap_instruments
- redcap_log_read
- redcap_metadata_coltypes
Expand Down Expand Up @@ -92,3 +92,11 @@ reference:
- replace_nas_with_explicit
- sanitize_token
- validate

- title: "Soft Deprecated"
desc: >
Functions that have been renamed and will be removed in future REDCapR versions.
contents:
- redcap_download_file_oneshot
- redcap_upload_file_oneshot
- redcap_download_instrument

0 comments on commit 314782a

Please sign in to comment.