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

List Of data.table Options #6720

Open
drag05 opened this issue Jan 13, 2025 · 4 comments
Open

List Of data.table Options #6720

drag05 opened this issue Jan 13, 2025 · 4 comments

Comments

@drag05
Copy link

drag05 commented Jan 13, 2025

I am trying to find an up-to-date list of data.table options along with their default and optional values and meaning.

I think such list should be available in User Manual rather than mentioned in discussions or, in function documentation.

This should be a requirement for any published R package, with the mention "no options available for this package" stated clarly when true. Package pander offers a good start.

Thank you!

@MichaelChirico
Copy link
Member

Thanks! It's a reasonable request & good idea.

The "hard" part will be in ensuring such a doc page is kept up to date. We will want to write some static analysis code comparing the package code with the Rd file to ensure they are in sync.

@TysonStanley
Copy link
Member

Re the keeping it updated: Seems like a good place for a release check, honestly. I do other checks like this in that process so we could add this to the list if there are no objections.

@MichaelChirico
Copy link
Member

I hear you, but

  • I think any place requiring manually combing through the codebase is prone to mistakes
  • Once we come up with code to help automate the process, it might as well apply as part of CI -- the author best able to adjust the docs if need be is the one that made the change in the first place.

That said, it will be hard to capture "valid values & their meanings" automatically -- that part could still go for a quick check at release time to ensure it's still up-to-date. What's "easy" to do automatically is populate the universe of option names.

@TysonStanley
Copy link
Member

Yes, agreed

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

No branches or pull requests

3 participants