Skip to content

Commit

Permalink
Update REDCapR to 1.2.0, update guess_max to Inf
Browse files Browse the repository at this point in the history
  • Loading branch information
rsh52 committed Sep 9, 2024
1 parent 9342e58 commit 1af89bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Imports:
lobstr,
lubridate,
purrr,
REDCapR (>= 1.1.0),
REDCapR (>= 1.2.0),
rlang,
stringi,
stringr,
Expand Down
4 changes: 2 additions & 2 deletions R/read_redcap.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#' from REDCapR API calls. Default `TRUE`.
#' @param guess_max A positive [base::numeric] value
#' passed to [readr::read_csv()] that specifies the maximum number of records to
#' use for guessing column types. Default `.Machine$integer.max`.
#' use for guessing column types. Default `Inf`.
#' @param allow_mixed_structure A logical to allow for support of mixed repeating/non-repeating
#' instruments. Setting to `TRUE` will treat the mixed instrument's non-repeating versions
#' as repeating instruments with a single instance. Applies to longitudinal projects
Expand All @@ -80,7 +80,7 @@ read_redcap <- function(redcap_uri,
export_survey_fields = NULL,
export_data_access_groups = NULL,
suppress_redcapr_messages = TRUE,
guess_max = .Machine$integer.max,
guess_max = Inf,
allow_mixed_structure = getOption("redcaptidier.allow.mixed.structure", FALSE)) {
check_arg_is_character(redcap_uri, len = 1, any.missing = FALSE)
check_arg_is_character(token, len = 1, any.missing = FALSE)
Expand Down
4 changes: 2 additions & 2 deletions man/read_redcap.Rd

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

0 comments on commit 1af89bd

Please sign in to comment.