Skip to content

Commit

Permalink
updated col type for time classes to T
Browse files Browse the repository at this point in the history
  • Loading branch information
collinschwantes committed May 22, 2024
1 parent c8a3ea4 commit 8d5b6af
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions R/class_to_col_type.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#' A table that links classes to `readr` column types.
#' Created from csv file of the same name in inst/
#'
#' class_to_col_type <- read.csv(file = "inst/class_to_col_type.csv")
#' usethis::use_data(class_to_col_type,overwrite = TRUE)
#'
#' @format ## `class_to_col_type`
#' A data frame with 9 rows and 3 columns:
#' \describe{
Expand Down
Binary file modified data/class_to_col_type.rda
Binary file not shown.
6 changes: 3 additions & 3 deletions inst/class_to_col_type.csv
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
col_type,col_class,col_abv
col_time,POSIXct,t
col_time,POSIXt,t
col_time,POSIXct,T
col_time,POSIXt,T
col_character,character,c
col_number,numeric,n
col_logical,logical,l
ol_date,Date,D
col_date,Date,D
col_factor,factor,f
col_double,double,d
col_integer,integer,i
4 changes: 4 additions & 0 deletions man/class_to_col_type.Rd

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

0 comments on commit 8d5b6af

Please sign in to comment.