Skip to content

Commit

Permalink
Merge pull request #254 from OuhscBbmc/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
wibeasley authored Sep 22, 2019
2 parents 285fe7e + 887fb2e commit 1f3c24b
Show file tree
Hide file tree
Showing 52 changed files with 445 additions and 341 deletions.
4 changes: 2 additions & 2 deletions CRAN-RELEASE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
This package was submitted to CRAN on 2019-09-21.
Once it is accepted, delete this file and tag the release (commit 6d76e90b4c).
This package was submitted to CRAN on 2019-09-22.
Once it is accepted, delete this file and tag the release (commit c2830c824a).
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Description: Encapsulates functions to streamline calls from R to the REDCap
University. The Application Programming Interface (API) offers an avenue
to access and modify data programmatically, improving the capacity for
literate and reproducible programming.
Version: 0.10.1
Version: 0.10.2
Date: 2019-09-20
Authors@R: c(person("Will", "Beasley", role = c("aut", "cre"), email =
"[email protected]", comment = c(ORCID = "0000-0002-5613-5006")),
Expand Down
3 changes: 2 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ In the future:
* `redcap_read()` and `redcap_read_oneshot()` allows caller to specify data types for columns.


Version 0.10 (to be released)
Version 0.10 (Released 2019-09-22)
==========================================================

### Minor New Features
Expand Down Expand Up @@ -39,6 +39,7 @@ Version 0.10 (to be released)
* the checkmate package inspects most function parameters now (instead of `testit::assert()` and `base:stop()` ) (#190 & #208).
* `collapse_vector()` is refactored and tested (#209)
* remove dependency on `pkgload` package (#218)
* Update Markdown syntax to new formatting problems (#253)

### Deprecated Features
* `retrieve_token_mssql()`, because `retrieve_credential_mssql()` is more general and more useful.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[REDCapR](https://github.com/OuhscBbmc/REDCapR) <img src="man/figures/logo.png" align="right" width="130" />
=======

We’ve been using R with [REDCap](https://projectredcap.org/)’s API since 2012 and have developed [`REDCapR`](https://github.com/OuhscBbmc/REDCapR). Before encapsulating these functions in a package, we were replicating 50+ lines of code to contact REDCap and robustly transform the returned [csv](https://en.wikipedia.org/wiki/Comma-separated_values) into an R [`data.frame`](https://stat.ethz.ch/R-manual/R-devel/library/base/html/data.frame.html); it took twice that much to implement batching. All this can be done in one call to [`redcap_read()`](https://ouhscbbmc.github.io/REDCapR/reference/redcap_read.html):
We’ve been using R with [REDCap](https://projectredcap.org/)’s API since 2012 and have developed [`REDCapR`](https://github.com/OuhscBbmc/REDCapR). Before encapsulating these functions in a package, we were replicating 50+ lines of code to contact REDCap and robustly transform the returned [csv](https://en.wikipedia.org/wiki/Comma-separated_values) into an R `data.frame`; it took twice that much to implement batching. All this can be done in one call to [`redcap_read()`](https://ouhscbbmc.github.io/REDCapR/reference/redcap_read.html):

```r
ds <- redcap_read(redcap_uri=uri, token=token)$data
Expand Down Expand Up @@ -52,7 +52,7 @@ Also checkout the other packages that exist for communicating with REDCap, which


### Collaborative Development
We encourage input and collaboration. If you're familiar with GitHub and R packages, feel free to submit a [pull request](https://github.com/OuhscBbmc/REDCapR/pulls). If you'd like to report a bug or make a suggestion, please create a GitHub [issue](https://github.com/OuhscBbmc/REDCapR/issues); issues are a usually a good place to ask public questions too. However, feel free to email Will (<[email protected]>). Please note that this project is released with a [Contributor Code of Conduct](CONDUCT.md); by participating in this project you agree to abide by its terms. We have some starting material described in the [`./documentation-for-developers/`](https://github.com/OuhscBbmc/REDCapR/tree/master/documentation-for-developers) directory.
We encourage input and collaboration. If you're familiar with GitHub and R packages, feel free to submit a [pull request](https://github.com/OuhscBbmc/REDCapR/pulls). If you'd like to report a bug or make a suggestion, please create a GitHub [issue](https://github.com/OuhscBbmc/REDCapR/issues); issues are a usually a good place to ask public questions too. However, feel free to email Will (<[email protected]>). Please note that this project is released with a [Contributor Code of Conduct](https://github.com/OuhscBbmc/REDCapR/blob/master/CONDUCT.md); by participating in this project you agree to abide by its terms. We have some starting material described in the [`./documentation-for-developers/`](https://github.com/OuhscBbmc/REDCapR/tree/master/documentation-for-developers) directory.

We'd like to thank the following developers for their [advice](https://github.com/OuhscBbmc/REDCapR/issues?q=is%3Aissue+is%3Aclosed) and [code contributions](https://github.com/OuhscBbmc/REDCapR/graphs/contributors): [Benjamin Nutter](https://github.com/nutterb), [Rollie Parrish](https://github.com/rparrish), [Scott Burns](https://github.com/sburns), [John Aponte](https://github.com/johnaponte), [Andrew Peters](https://github.com/ARPeters), and [Hao Zhu](https://github.com/haozhu233).

Expand Down
27 changes: 14 additions & 13 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,33 @@ Description
-----------------------------------------------
This submission includes new features and also addresses some (soon-to-be) breaking changes in the libraries underneath.

I have fixed the three points described in your previous response (documented in [our issue](https://github.com/OuhscBbmc/REDCapR/issues/253)). For the first point, I fixed some markdown syntax so the API's url is correctly interpreted. I'm sorry the test builds below didn't uncover the last two.

Thank you for taking the time to review my submission, and please tell me if there's something else I should do for CRAN. -Will Beasley


Test environments
-----------------------------------------------

The win-builder and a local machine have used the CRAN version of dplyr. The others have used the current GitHub master version of dplyr.

* Local Ubuntu, R 3.6.1 patched
* Local Win8, R 3.6.1 patched
* [r-hub](https://builder.r-hub.io/status/REDCapR_0.10.1.tar.gz-b2178285b2ac4196bce254c553eaab50)
* Ubuntu Linux 16.04 LTS, R-release, GCC
* Fedora Linux, R-devel, clang, gfortran
* [win-builder](https://win-builder.r-project.org/3wAMI67afYVu/), development version.
* [Travis CI](https://travis-ci.org/OuhscBbmc/REDCapR), Ubuntu 14.04 LTS
* [AppVeyor](https://ci.appveyor.com/project/wibeasley/REDCapR), Windows Server 2012
1. Local Ubuntu, R 3.6.1 patched
1. Local Win8, R 3.6.1 patched
1. r-hub
1. [Ubuntu Linux 16.04 LTS, R-release, GCC](https://builder.r-hub.io/status/REDCapR_0.10.1.tar.gz-ffc36a958fe44f3fb3263929670f8138)
1. [Fedora Linux, R-devel, clang, gfortran](https://builder.r-hub.io/status/REDCapR_0.10.1.tar.gz-2e2bed0d3cda44429a8f830c2b9d8e92)
1. [Windows Server](https://builder.r-hub.io/status/REDCapR_0.10.1.tar.gz-0c79ee0f9b3e49f7b381348e9f7283b0)
1. [win-builder](https://win-builder.r-project.org/a9ub2IBAb24W), development version.
1. [Travis CI](https://travis-ci.org/OuhscBbmc/REDCapR), Ubuntu 14.04 LTS
1. [AppVeyor](https://ci.appveyor.com/project/wibeasley/REDCapR), Windows Server 2012


R CMD check results
-----------------------------------------------

* No ERRORs or WARNINGs on any builds.
* There is one NOTE related to the url `https://bbmc.ouhsc.edu/redcap/api/`. This url is the root of the API, and not intended to be navigated to by humans.
* No ERRORs, WARNINGs, or NOTEs on any builds.


Downstream dependencies
-----------------------------------------------

No other packages depend/import this one.
No downstream pakcages are affecteed. Only one package depends/imports REDCapR, and it passes my local checks.
* [codified](https://CRAN.R-project.org/package=codified)
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/CONDUCT.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed docs/apple-touch-icon-120x120.png
Binary file not shown.
Binary file removed docs/apple-touch-icon-152x152.png
Binary file not shown.
Binary file removed docs/apple-touch-icon-180x180.png
Binary file not shown.
Binary file removed docs/apple-touch-icon-60x60.png
Binary file not shown.
Binary file removed docs/apple-touch-icon-76x76.png
Binary file not shown.
Binary file removed docs/apple-touch-icon.png
Binary file not shown.
Loading

0 comments on commit 1f3c24b

Please sign in to comment.