Have you read the Appsilon Contributing Guidelines?
This project uses pre-commit hooks. The hooks are a series of automated checks run locally. These automate mundane tasks such as running spellchecking, linter, and other potential issues before you even push your changes!
To get started you need to install the pre-commit tool. Additionally, {lintr}
, {pkgdown}
, and
{testthat}
packages have to be installed either globally or within {renv}
(if your project uses
it). To install pre-commit, pick a method that suits you the best:
pip install pre-commit
or pip3 install pre-commit
brew install pre-commit
{precommit}
package: follow the installation section in its vignetteOnce you have installed pre-commit, run pre-commit install
to set up the hooks.
If package dependencies are being changed, then the list of additional_dependencies
for
roxygenize
hook has to be updated. The list can be generated using a helper function from
{precommit}
package: precommit::snippet_generate("additional-deps-roxygenize")
.
{lintr}
might report false positive warnings about object_usage_linter
. This can be fixed by
install the package with your contributions prior to running the linter.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.