Skip to content

Don't remove units attribute of difftime when cleaning data on pre-process #184

@mstackhouse

Description

@mstackhouse
library(lubridate)

x <- ymd("2024-01-01") - ymd("2024-01-02")
attributes(x)

built_target <- clean_attr(target)

Tplyr/R/utils.R

Line 260 in 1fa6c4c

clean_attr <- function(dat) {

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions