Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test all functions preserve vector names #12

Open
joethorley opened this issue Sep 19, 2021 · 2 comments
Open

test all functions preserve vector names #12

joethorley opened this issue Sep 19, 2021 · 2 comments

Comments

@joethorley
Copy link
Member

No description provided.

@aylapear
Copy link
Member

aylapear commented Sep 23, 2022

Name is preserved in this one

y <– c(x = 1)
dttr2::dtt_doy_to_date(y)

>           x 
> "1972-01-01" 

Name is not preserved in this one

y <– c(x = 1)
dttr2::dtt_date(y)

> [1] "1970-01-02"

@aylapear
Copy link
Member

All functions should return the named variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants