.github/CONTRIBUTING.md

Contributing

Something isn't working right or generating an error

If something isn't working, either as you might expect/want or is contrary to the documentation, its probably a bug or missing feature. If you're getting an error while running {gratia}, that's also likely a bug, or an opportunity to catch a use-case I wasn't expecting.

First, check that your issue hasn't already been fixed in the in-development version on Github. Install the current development version of {gratia} from R-universe using

install.packages("gratia", repos = c(
  "https://gavinsimpson.r-universe.dev",
  "https://cloud.r-project.org"
))

If the issue remains, please file an issue via the Issues page.

It's OK to report an issue even if you're not sure if there's a problem, but if your problem is better described as a question, use the Discussions page (see below).

Feature requests are welcome!

Your problem with {gratia} will hit the top of my TODO list more quickly if you cen provide a reproducible example demonstrating the problem.

Got a question? Want to show how to do something with {gratia}?

If your issue is best described as a question, or you want to know how to do something with {gratia}, or you have a cool example of using {gratia} and want to share it, please consider using the Discussions page.

If you're not sure, you can always ask about your issue as a Question (Use the Q&A category) and, if it really is a bug, I can easily create an Issue from the discussion.

Code contributions

Code contributions in the form of Pull Requests are always appreciated.

A suitable workflow:

Development tools / paradigm / ethos

Please note the following when contributing code:

Email

I hate email!

You can email me at my GMail address — it's not like I can stop you :-) — but unless you capture my attention immediately and I label your message as {gratia}-related, it will quickly get swamped never to be seen again. Even if I do label it, that's no guarantee that I will ever get round to replying; what usually happens is that I'll forget about it and I don't remember to check the gratia label that often. The end result is that if you email me, if you get a response at all, it will be tardy.

It is infinitely better to use the Discussions and Issues pages on Github to ask questions about the package or report problems.

Please don't email my work (academic) address (or any other email address you might find for me) about {gratia}.

If you have a question about GAMs, it would be much better to ask it on CrossValidated or StackOverflow depending on whether your question is statistical or programming related. If it relates to {gratia} you can use the Discussions page. Asking a question in public allows me and others to reply in public, and that contributes to the body of knowledge that is easily available to others.

Under no circumstances should you send email to multiple of my addresses; that is the quickest way to get your message in the trash.



gavinsimpson/gratia documentation built on March 5, 2025, 10:01 a.m.