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

Exercise 17.4.4 --> 4 actually works #1640

Open
niloofar-dehdari-ebrahimi opened this issue Mar 27, 2024 · 1 comment
Open

Exercise 17.4.4 --> 4 actually works #1640

niloofar-dehdari-ebrahimi opened this issue Mar 27, 2024 · 1 comment

Comments

@niloofar-dehdari-ebrahimi

I am not an expert. But the question number 4 asks:

Why can’t (today() %--% (today() + years(1))) / months(1) work?

However, when I run it in the console, it returns: 12

@davidrsch
Copy link
Contributor

This exercise came from previous version of the book, that most likely was build using lubridate 1.6.0 or a previous version, where doing this operation returned an error message. Maybe they can take it out next time they review it, @mine-cetinkaya-rundel ?

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