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

In line rendering of dates using 'chron' objects fails #806

Closed
sanfordweisberg opened this issue Jul 4, 2014 · 2 comments
Closed

In line rendering of dates using 'chron' objects fails #806

sanfordweisberg opened this issue Jul 4, 2014 · 2 comments
Milestone

Comments

@sanfordweisberg
Copy link

The following chunk correctly returns the date corresponding to d1 and to d1 + 180:

library(chron)
d1 <- chron("9/9/2013")
print(d1)
d1+180

The following in-line statements fail immediately following this chuck fails:
r d1 substitutes as.numeric(d1) = 15957 rather than "09/09/13"
r d1 + 180 substitutes as.numeric(d1 + 180) = 16137 rather than d1 + 180 = "03/09/14"

@yihui yihui closed this as completed in e5b0971 Jul 5, 2014
@yihui yihui added this to the v1.7 milestone Jul 5, 2014
@yihui
Copy link
Owner

yihui commented Jul 5, 2014

Should be fixed in the development version now. Thanks!

@github-actions
Copy link

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants