Skip to content

Commit 9f6b4ae

Browse files
authored
Merge pull request #346 from OuhscBbmc/dev
submit to CRAN; especially with changes of readr 2.0
2 parents aeeae25 + 244a46d commit 9f6b4ae

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+308
-175
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ utility/
2424
^CRAN-RELEASE$
2525
^codecov\.yml$
2626
^pkgdown$
27+
^LICENSE\.md$

.github/workflows/check-release.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2020
steps:
2121
- uses: actions/checkout@v2
22+
2223
- uses: r-lib/actions/setup-r@v1
2324

2425
- uses: r-lib/actions/setup-pandoc@master
@@ -53,11 +54,22 @@ jobs:
5354
remotes::install_deps(dependencies = TRUE)
5455
remotes::install_cran("covr")
5556
shell: Rscript {0}
57+
58+
- name: Session info
59+
run: |
60+
options(width = 100)
61+
pkgs <- installed.packages()[, "Package"]
62+
sessioninfo::session_info(pkgs, include_base = TRUE)
63+
shell: Rscript {0}
64+
5665
- name: Check
66+
env:
67+
_R_CHECK_CRAN_INCOMING_: false
5768
run: |
5869
options(crayon.enabled = TRUE)
59-
rcmdcheck::rcmdcheck(args = "--no-manual", error_on = "error")
70+
rcmdcheck::rcmdcheck(args = c("--no-manual", "--as-cran"), error_on = "warning", check_dir = "check")
6071
shell: Rscript {0}
72+
6173
- name: Test coverage
6274
run: covr::codecov()
6375
shell: Rscript {0}

CONDUCT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ opening an issue or contacting one or more of the project maintainers.
2222

2323
This Code of Conduct is adapted from the Contributor Covenant
2424
(http:contributor-covenant.org), version 1.0.0, available at
25-
http://contributor-covenant.org/version/1/0/0/
25+
https://contributor-covenant.org/version/1/0/0/

DESCRIPTION

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description: Encapsulates functions to streamline calls from R to the REDCap
66
University. The Application Programming Interface (API) offers an avenue
77
to access and modify data programmatically, improving the capacity for
88
literate and reproducible programming.
9-
Version: 0.11.1.9005
9+
Version: 1.0.0
1010
Authors@R: c(person("Will", "Beasley", role = c("aut", "cre"), email =
1111
"wibeasley@hotmail.com", comment = c(ORCID = "0000-0002-5613-5006")),
1212
person("David", "Bard", role = "ctb"),
@@ -20,7 +20,7 @@ Authors@R: c(person("Will", "Beasley", role = c("aut", "cre"), email =
2020
comment = c(ORCID = '0000-0002-3386-6076')), person("Felix", "Torres",
2121
role = "ctb", email = "fetorres@ucsd.edu"), person("Philip", "Chase",
2222
role = "ctb", email = "pbc@ufl.edu"))
23-
URL: https://ouhscbbmc.github.io/REDCapR, https://github.com/OuhscBbmc/REDCapR, http://ouhsc.edu/bbmc/, http://project-redcap.org
23+
URL: https://ouhscbbmc.github.io/REDCapR/, https://github.com/OuhscBbmc/REDCapR, https://www.ouhsc.edu/bbmc/, https://project-redcap.org
2424
BugReports: https://github.com/OuhscBbmc/REDCapR/issues
2525
Depends:
2626
R(>= 3.5.0)
@@ -43,8 +43,7 @@ Suggests:
4343
rmarkdown (>= 2.0),
4444
sessioninfo (>= 1.1.1),
4545
testthat (>= 3.0)
46-
License: GPL-2
47-
LazyData: TRUE
46+
License: MIT + file LICENSE
4847
VignetteBuilder: knitr
4948
Encoding: UTF-8
5049
RoxygenNote: 7.1.1

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2021
2+
COPYRIGHT HOLDER: REDCapR authors

LICENSE.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2021 REDCapR authors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

NEWS.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ Upcoming Versions
44
In the future:
55
...
66

7-
Version 0.12 (Unreleased on CRAN)
7+
Version 1.0 (released 2021-07-21)
88
==========================================================
99

10+
The package has been stable for years and should be reflected in the major version number.
11+
1012
### Minor Enhancements
1113

1214
* When writing records to the server, the functions `redcap_write()` and `redcap_write_oneshot()` have a new parameter that converts R's `logical`/boolean columns to integers. This meshes well with T/F and Y/N items that are coded as 1/0 underneath. The default will be FALSE (ie, the integers are not converted by default), so it doesn't break existing code. (#305)
@@ -20,7 +22,8 @@ Version 0.12 (Unreleased on CRAN)
2022
### Stability Features
2123

2224
* update for newer version of testthat -v3.0.0 (#312)
23-
* update for newer version of readr (#313)
25+
* update for newer version of readr 2.0.0 (#343)
26+
* update for newer version of readr 1.4.0 (#313)
2427
* update for newer version of REDCap on test server (#310)
2528
* save expected datasets as files -instead of included in the actual test code (#308)
2629

@@ -127,7 +130,7 @@ Versions 0.9.7 (Released 2017-09-09)
127130
* Remove line breaks from token (Thanks @haozhu233 in issues #103 & #104)
128131

129132
### Minor Updates
130-
* When combining batches into a single data.frame, `data.table::rbindlist()` is used. This should prevent errors with the first batch's data type (for a column) isn't compatible with a later batch. For instance, this occurs when the first batch has only integers for `record_id`, but a subsequent batch has values like `aa-test-aa`. The variable for the combined dataset should be a character. (Issue #128 & http://stackoverflow.com/questions/39377370/bind-rows-of-different-data-types; Thanks @arunsrinivasan)
133+
* When combining batches into a single data.frame, `data.table::rbindlist()` is used. This should prevent errors with the first batch's data type (for a column) isn't compatible with a later batch. For instance, this occurs when the first batch has only integers for `record_id`, but a subsequent batch has values like `aa-test-aa`. The variable for the combined dataset should be a character. (Issue #128 & https://stackoverflow.com/questions/39377370/bind-rows-of-different-data-types; Thanks @arunsrinivasan)
131134
* Uses the `dplyr` package instead of `plyr`. This shouldn't affect callers, because immediately before returning the data, `REDCapR::redcap_read()` coerces the `tibble::tibble` (which was formerly called `dplyr::tbl_df`) back to a vanilla `data.frame` with `as.data.frame()`.
132135
* A few more instances of validating input parameters to read functions. (Issue #8).
133136

@@ -193,7 +196,7 @@ Version 0.4-28 (Released 2014-09-20)
193196

194197
### Updates
195198
* By default, the SSL certs come from the httr package. However, REDCapR will continue to maintain a copy in case httr's version on CRAN gets out of date.
196-
* The tests are split into two collections: one that's run by the CRAN checks, and the other run manually. [Thanks, Gabor Csardi](http://stackoverflow.com/questions/25595487/testthat-pattern-for-long-running-tests). Any test with a dependency outside the package code (especially the REDCap test projects) is run manually so changes to the test databases won't affect the success of building the previous version on CRAN.
199+
* The tests are split into two collections: one that's run by the CRAN checks, and the other run manually. [Thanks, Gabor Csardi](https://stackoverflow.com/questions/25595487/testthat-pattern-for-long-running-tests). Any test with a dependency outside the package code (especially the REDCap test projects) is run manually so changes to the test databases won't affect the success of building the previous version on CRAN.
197200
* Corrected typo in `redcap_download_file_oneshot()` documentation, thanks to Andrew Peters (@ARPeters #45).
198201

199202

@@ -220,7 +223,7 @@ Version 0.2 (Released 2014-07-02)
220223
* The `redcap_project()` object reduces repeatedly passing parameters like the server URL, the user token, and the SSL cert location.
221224

222225
### Updates
223-
* New Mozilla SSL Certification Bundles released on cURL (released 2013-12-05; http://curl.haxx.se/ca/cacert.pem)
226+
* New Mozilla SSL Certification Bundles released on cURL (released 2013-12-05)
224227
* Renamed `redcap_read_batch()` to `redcap_read()`. These changes reflect our suggestion that reads should typically be batched.
225228
* Renamed `redcap_read()` to `redcap_read_oneshot()`
226229
* Renamed `redcap_write()` to `redcap_write_oneshot()` (which is an internal function).

R/REDCapR-package.R

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#' @aliases REDCapR
44
#'
55
#' @title R utilities for interacting with a REDCap data system
6-
#' <http://www.project-redcap.org/>
6+
#' <https://www.project-redcap.org/>
77
#'
88
#' @description
99
#'
@@ -14,28 +14,28 @@
1414
#' following projects. We appreciate the support.
1515
#' * *OUHSC CCAN Independent Evaluation of the State of Oklahoma Competitive
1616
#' Maternal, Infant, and Early Childhood Home Visiting
17-
#' ([MIECHV](http://mchb.hrsa.gov/programs/homevisiting/)) Project*.
18-
#' [HRSA/ACF D89MC23154](https://grants6.hrsa.gov/MCHB/DGISReports/Abstract/AbstractDetails.aspx?cbAbstractSummary=D89MC23154_2012_NonResearch_4).
17+
#' ([MIECHV](https://mchb.hrsa.gov/maternal-child-health-initiatives/home-visiting-overview)) Project*.
18+
#' HRSA/ACF D89MC23154.
1919
#' David Bard, PI, OUHSC; 2011-2015.
2020
#' * *Independent Evaluation of the State of OK MIECHV Evidence Based Home
2121
#' Visitation Project*, [NIH](https://www.nih.gov/)-sponsored collaboration
22-
#' with [OSDH](https://ok.gov/health/).
22+
#' with [OSDH](https://oklahoma.gov/health.html).
2323
#' David Bard, PI, OUHSC; 2015-2017.
2424
#' * *OSDH ParentPRO Pilot Evaluation*, federally-sponsored collaboration
25-
#' with [OSDH](https://ok.gov/health/).
25+
#' with [OSDH](https://oklahoma.gov/health.html).
2626
#' David Bard, PI, OUHSC; 2015-2017.
27-
#' * *Title IV-E Waiver Project*, [HRSA/MCHB](http://mchb.hrsa.gov/)-sponsored
28-
#' collaboration with [OKDHS](http://www.okdhs.org/);
27+
#' * *Title IV-E Waiver Project*, [HRSA/MCHB](https://mchb.hrsa.gov/)-sponsored
28+
#' collaboration with [OKDHS](https://oklahoma.gov/okdhs.html);
2929
#' David Bard, PI, OUHSC; 2014-2017.
3030
#' * *Integrative Analysis of Longitudinal Studies of Aging (IALSA)*,
31-
#' sponsored by [NIH 5P01AG043362](http://grantome.com/grant/NIH/P01-AG043362).
31+
#' sponsored by [NIH 5P01AG043362](https://grantome.com/grant/NIH/P01-AG043362).
3232
#' Scott Hofer, PI, University of Victoria;
3333
#' Will Beasley, PI of site-award, OUHSC; 2013-2018.
3434
#' * *Oklahoma Shared Clinical and Translational Resources*, sponsored by
35-
#' [NIH NIGMS; U54 GM104938](http://grantome.com/grant/NIH/U54-GM104938).
35+
#' [NIH NIGMS; U54 GM104938](https://grantome.com/grant/NIH/U54-GM104938).
3636
#' Judith A. James, PI, OUHSC; 2013-2018.
3737
#' * Additional Institutional Support from OUHSC
38-
#' [Dept of Pediatrics](https://www.oumedicine.com/department-of-pediatrics);
38+
#' [Dept of Pediatrics](https://medicine.ouhsc.edu/Academic-Departments/Pediatrics);
3939
#' 2013-2017.
4040
#'
4141
#'

R/redcap-download-file-oneshot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#' * `success`: A boolean value indicating if the operation was apparently
3535
#' successful.
3636
#' * `status_code`: The
37-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
37+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
3838
#' of the operation.
3939
#' * `outcome_message`: A human readable string indicating the operation's
4040
#' outcome.

R/redcap-download-instrument.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#' * `success`: A boolean value indicating if the operation was apparently
3030
#' successful.
3131
#' * `status_code`: The
32-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
32+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
3333
#' of the operation.
3434
#' * `outcome_message`: A human readable string indicating the operation's
3535
#' outcome.

R/redcap-metadata-read.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#' * `success`: A boolean value indicating if the operation was apparently
3030
#' successful.
3131
#' * `status_codes`: A collection of
32-
#' [http status codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes),
32+
#' [http status codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes),
3333
#' separated by semicolons. There is one code for each batch attempted.
3434
#' * `outcome_messages`: A collection of human readable strings indicating the
3535
#' operations' semicolons. There is one code for each batch attempted. In an

R/redcap-metadata-write.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#' * `success`: A boolean value indicating if the operation was apparently
2323
#' successful.
2424
#' * `status_code`: The
25-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
25+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
2626
#' of the operation.
2727
#' * `outcome_message`: A human readable string indicating the operation's
2828
#' outcome.
@@ -73,7 +73,7 @@ redcap_metadata_write <- function(
7373
verbose = TRUE,
7474
config_options = NULL
7575
) {
76-
csv_elements <- NULL #This prevents the R CHECK NOTE: 'No visible binding for global variable Note in R CMD check'; Also see if( getRversion() >= "2.15.1" ) utils::globalVariables(names=c("csv_elements")) #http://stackoverflow.com/questions/8096313/no-visible-binding-for-global-variable-note-in-r-cmd-check; http://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-visible-binding-for-global-variable-notes-when
76+
csv_elements <- NULL #This prevents the R CHECK NOTE: 'No visible binding for global variable Note in R CMD check'; Also see if( getRversion() >= "2.15.1" ) utils::globalVariables(names=c("csv_elements")) #https://stackoverflow.com/questions/8096313/no-visible-binding-for-global-variable-note-in-r-cmd-check; https://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-visible-binding-for-global-variable-notes-when
7777

7878
checkmate::assert_character(redcap_uri, any.missing = FALSE, len = 1, pattern = "^.{1,}$")
7979
checkmate::assert_character(token , any.missing = FALSE, len = 1, pattern = "^.{1,}$")

R/redcap-project.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,5 +131,5 @@ redcap_project <- setRefClass(
131131
) #End methods list
132132
) #End class
133133

134-
# http://adv-r.had.co.nz/OO-essentials.html # nolint
135-
# http://stackoverflow.com/questions/21875596/mapping-a-c-sharp-class-definition-to-an-r-reference-class-definition # nolint
134+
# https://adv-r.had.co.nz/OO-essentials.html # nolint
135+
# https://stackoverflow.com/questions/21875596/mapping-a-c-sharp-class-definition-to-an-r-reference-class-definition # nolint

R/redcap-read-oneshot-eav.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#' * `success`: A boolean value indicating if the operation was apparently
6666
#' successful.
6767
#' * `status_code`: The
68-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
68+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
6969
#' of the operation.
7070
#' * `outcome_message`: A human readable string indicating the operation's
7171
#' outcome.

R/redcap-read-oneshot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
#' * `success`: A boolean value indicating if the operation was apparently
7575
#' successful.
7676
#' * `status_code`: The
77-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
77+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
7878
#' of the operation.
7979
#' * `outcome_message`: A human readable string indicating the operation's
8080
#' outcome.

R/redcap-read.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
#' * `success`: A boolean value indicating if the operation was apparently
9090
#' successful.
9191
#' * `status_codes`: A collection of
92-
#' [http status codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes),
92+
#' [http status codes](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes),
9393
#' separated by semicolons. There is one code for each batch attempted.
9494
#' * `outcome_messages`: A collection of human readable strings indicating the
9595
#' operations' semicolons. There is one code for each batch attempted. In an

R/redcap-report.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#' * `success`: A boolean value indicating if the operation was apparently
4040
#' successful.
4141
#' * `status_code`: The
42-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
42+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
4343
#' of the operation.
4444
#' * `outcome_message`: A human readable string indicating the operation's
4545
#' outcome.

R/redcap-survey-link-export-oneshot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#' * `success`: A boolean value indicating if the operation was apparently
2121
#' successful.
2222
#' * `status_code`: The
23-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
23+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
2424
#' of the operation.
2525
#' * `outcome_message`: A human readable string indicating the operation's
2626
#' outcome.

R/redcap-upload-file-oneshot.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#' * `success`: A boolean value indicating if the operation was apparently
2323
#' successful.
2424
#' * `status_code`: The
25-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
25+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
2626
#' of the operation.
2727
#' * `outcome_message`: A human readable string indicating the operation's
2828
#' outcome.

R/redcap-variables.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#' * `success`: A boolean value indicating if the operation was apparently
2121
#' successful.
2222
#' * `status_code`: The
23-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
23+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
2424
#' of the operation.
2525
#' * `outcome_message`: A human readable string indicating the operation's
2626
#' outcome.

R/redcap-write-oneshot.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#' * `success`: A boolean value indicating if the operation was apparently
3131
#' successful.
3232
#' * `status_code`: The
33-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
33+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
3434
#' of the operation.
3535
#' * `outcome_message`: A human readable string indicating the operation's
3636
#' outcome.
@@ -97,7 +97,7 @@ redcap_write_oneshot <- function(
9797
config_options = NULL
9898
) {
9999

100-
csv_elements <- NULL #This prevents the R CHECK NOTE: 'No visible binding for global variable Note in R CMD check'; Also see if( getRversion() >= "2.15.1" ) utils::globalVariables(names=c("csv_elements")) #http://stackoverflow.com/questions/8096313/no-visible-binding-for-global-variable-note-in-r-cmd-check; http://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-visible-binding-for-global-variable-notes-when
100+
csv_elements <- NULL #This prevents the R CHECK NOTE: 'No visible binding for global variable Note in R CMD check'; Also see if( getRversion() >= "2.15.1" ) utils::globalVariables(names=c("csv_elements")) #https://stackoverflow.com/questions/8096313/no-visible-binding-for-global-variable-note-in-r-cmd-check; https://stackoverflow.com/questions/9439256/how-can-i-handle-r-cmd-check-no-visible-binding-for-global-variable-notes-when
101101

102102
checkmate::assert_character(redcap_uri, any.missing=FALSE, len=1, pattern="^.{1,}$")
103103
checkmate::assert_character(token , any.missing=FALSE, len=1, pattern="^.{1,}$")

R/redcap-write.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#' * `success`: A boolean value indicating if the operation was apparently
3838
#' successful.
3939
#' * `status_code`: The
40-
#' [http status code](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
40+
#' [http status code](https://en.wikipedia.org/wiki/List_of_HTTP_status_codes)
4141
#' of the operation.
4242
#' * `outcome_message`: A human readable string indicating the operation's
4343
#' outcome.

R/retrieve-credential.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
#' Defaults to FALSE.
4343
#' @param check_token_pattern A `logical` value indicates if the token in the
4444
#' credential file is a 32-character hexadecimal string. Defaults to FALSE.
45-
#' @param dsn A [DSN](http://en.wikipedia.org/wiki/Data_source_name) on the
45+
#' @param dsn A [DSN](https://en.wikipedia.org/wiki/Data_source_name) on the
4646
#' local machine that points to the desired MSSQL database. Required.
4747
#' @param channel An *optional* connection handle as returned by
4848
#' [DBI::dbConnect()]. See Details below. Optional.

0 commit comments

Comments
 (0)