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

help files in general #43

Open
florianhartig opened this issue Jun 27, 2018 · 2 comments
Open

help files in general #43

florianhartig opened this issue Jun 27, 2018 · 2 comments
Assignees

Comments

@florianhartig
Copy link
Member

a comment about the help - when I was writing the unit tests now, I realized that the help does not do a good job in showing the context in which functions are being used.

Take as example plotLPJData - this function requires running getLPJData first, but this is nowhere documented, it just says that the input variable x is an LPJData object.

A good help should have

  • a link to getLPJData in the help of x
  • a link to getLPJData with the @Seealso tag
  • a shared help file that shows both functions in context, see also comment in example files #39

see, for example, ?DHARMa::plot.DHARMa

@Rasilgon
Copy link
Collaborator

OK. thanks for checking! It is a good point.
I assumed that if x is a LPJData object, then its clear that before getLPJData or runLPJ must have been previoulsy callled to create the LPJData object. In general, besides runLPJ and setupLPJ there is no much context provided.
I am going trough the help files and will add info in @details and context in @examples.

@Rasilgon
Copy link
Collaborator

Rasilgon commented Jul 1, 2018

On branch develop I improved help files with examples (inst/examples) and provided context of use that connects functions and shows work flow.

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