Skip to content

Commit

Permalink
return tibble instead of data.frame
Browse files Browse the repository at this point in the history
close #415
  • Loading branch information
wibeasley committed Aug 28, 2022
1 parent fac9698 commit 54f82e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions R/redcap-log-read.R
Expand Up @@ -144,8 +144,7 @@ redcap_log_read <- function(
file = I(kernel$raw_text),
locale = locale,
show_col_types = FALSE
) %>%
as.data.frame(),
),

# Don't print the warning in the try block. Print it below,
# where it's under the control of the caller.
Expand Down
3 changes: 1 addition & 2 deletions R/redcap-read-oneshot.R
Expand Up @@ -292,8 +292,7 @@ redcap_read_oneshot <- function(
guess_max = guess_max,
locale = locale,
show_col_types = FALSE
) %>%
as.data.frame(),
),

# Don't print the warning in the try block. Print it below,
# where it's under the control of the caller.
Expand Down
3 changes: 1 addition & 2 deletions R/redcap-report.R
Expand Up @@ -177,8 +177,7 @@ redcap_report <- function(
col_types = col_types,
guess_max = guess_max,
show_col_types = FALSE
) %>%
as.data.frame(),
),

# Don't print the warning in the try block. Print it below,
# where it's under the control of the caller.
Expand Down

0 comments on commit 54f82e2

Please sign in to comment.