-
Notifications
You must be signed in to change notification settings - Fork 129
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
Improving .Rd doc for DSL and target() #979
Comments
Yeah, I agree to extend the docs. |
Great, thanks a lot @wlandau. |
Reconsidering how we implement this. Problems:
|
what about adding a prefix to the functions and soft-depreciate the initial API? Like
I think for many this is a source of confusion. |
The current |
Prework
drake
's code of conduct.Description
I think the DSL in drake is interesting, but it is hard to learn how to use it. Lets take this example from the drake manual:
Neither does
?target
, tell me about the argumenttransform
nor can I use?cross
and similar for other DSL verbs to get to the documentation for these functions. They are very much magic to me. I consider the R documentation system a core strength of the eco system and hence I'd propose to extend the documentation in that regard. If...
is used intarget()
, then at least the doc could say where to look for the argument names if possible. Ideally adding examples to the Rd doc, but even linking to the drake manual could be an improvement of the status quo I think. Thanks for making this package so great.The text was updated successfully, but these errors were encountered: