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

parse_date_time fails with factors #177

Closed
richierocks opened this issue Apr 25, 2013 · 1 comment
Closed

parse_date_time fails with factors #177

richierocks opened this issue Apr 25, 2013 · 1 comment

Comments

@richierocks
Copy link
Contributor

Try ymd(factor(Sys.Date())).

The problem lies with the call to nzchar - it only works with character arguments.

@vspinu
Copy link
Member

vspinu commented Apr 26, 2013

Yep, indeed. I guess as.character is unavoidable here.

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