:tada: Welcome to our contribution guidelines and thank you for your interest in contributing!
Before you report a bug make sure the same bug hasn't been reported before. We track bugs as issues on GitHub. If no related issue has been opened, create an issue keeping in mind the following guidelines:
You have had a look at our issues on GitHub and would like to solve one of them? or you would like to develop a feature? That's great and we gladly welcome that. We just would like to suggest you follow these simple guidelines:
master
branchdevtools::check()
covr::package_coverage()
DESCRIPTION
fileNote: members of the CausalQueries
dev team can skip the first two bullet points above and branch out instead.
As vignettes making use of update_model()
may have long run-/compile times and we wish to minimize time and resource demands both when
testing an deploying CausalQueries
; vignette writing and updating makes use of a slightly modified workflow.
Vignettes are complied locally from a vignette-name.Rmd.orig
file; its outputs are dumped to the vignette
folder and a vignette-name.Rmd
file with non-executable code chunks is constructed from these outputs. This workflow is handled via the build_vignettes()
function in
the package.
Whether you update an existing vignette or write a new one be sure to give your code chunks (particularly those producing plots) unique and ìnformative names.
If you wish to add a new vignette please proceed as follows:
vignette-name.Rmd.orig
in the vignettes folder (replace vignette-name
with your desired vignette name here)build_vignettes()
specifying the name of your vignette without any file extension as an optional argument i.e. build_vignettes("vignette-name")
vignettes
argument of build_vignettes()
vignette-name.Rmd.orig
to the .Rbuildignore
file like so ^vignette-name.Rmd.orig$
If you wish to update an existing vignette proceed as follows:
vignette-name.Rmd.orig
file build_vignettes()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.