Skip to content

Commit

Permalink
Read test data as tibble
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmlft committed Aug 23, 2024
1 parent c797006 commit f7caf0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/utils_get_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
get_concepts_table <- function() {
if (golem::app_dev()) {
return(
read.csv(app_sys("test_data", "calypso_concepts.csv"))
readr::read_csv(app_sys("test_data", "calypso_concepts.csv"), show_col_types = FALSE)
)
}

Expand All @@ -18,7 +18,7 @@ get_concepts_table <- function() {
get_monthly_counts <- function() {
if (golem::app_dev()) {
return(
read.csv(app_sys("test_data", "calypso_monthly_counts.csv"))
readr::read_csv(app_sys("test_data", "calypso_monthly_counts.csv"), show_col_types = FALSE)
)
}

Expand All @@ -30,7 +30,7 @@ get_monthly_counts <- function() {
get_summary_stats <- function() {
if (golem::app_dev()) {
return(
read.csv(app_sys("test_data", "calypso_summary_stats.csv"))
readr::read_csv(app_sys("test_data", "calypso_summary_stats.csv"), show_col_types = FALSE)
)
}

Expand Down

0 comments on commit f7caf0e

Please sign in to comment.