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

no date field in DESCRIPTION file #806

Closed
igordot opened this issue Jul 8, 2019 · 2 comments
Closed

no date field in DESCRIPTION file #806

igordot opened this issue Jul 8, 2019 · 2 comments

Comments

@igordot
Copy link

igordot commented Jul 8, 2019

Is it possible to add the date field to the DESCRIPTION file with usethis? It's trivial to do it manually, but it would be nice to have it done automatically.

I realized it was missing because I got a warning with citation():

no date field in DESCRIPTION file of package

For those who may not be familiar, from Writing R Extensions:

The optional ‘Date’ field gives the release date of the current version of the package.

I saw that there was use_citation() but that is more appropriate if you have an article or a book.

@jennybc
Copy link
Member

jennybc commented Jul 8, 2019

We are, in general, anti-Date field because it is automatically added when, say, CRAN builds your package and that Date will always be correct, by definition. So it turns out that manually tending a Date field causes more problems than it solves, because people routinely forget to update it.

Can you describe your situation more, in terms of how this package has been installed?

@igordot
Copy link
Author

igordot commented Jul 8, 2019

I originally tried this on a development version. The version that was installed from CRAN has the date. Thank you for clarifying. Everything makes sense now.

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