Go to
vignette("getting_started", package = "checklist") when you
want to use checklist on an R package.
Run create_project(path, project). path
must be an existing directory. project is the name of the
project. create_project() creates the project as a
subdirectory of path with name project. It
then guides you interactively through the process by asking questions on
your preferences on the project. All yes/no question have a sensible
default. You can use that default by simply pressing enter. Most other
questions are similar to that of create_package(). Please
refer to vignette("getting_started", package = "checklist")
for more details on those.
Use setup_project() when you want to change the settings
later.
project.check_project GitHub Action. This runs
check_project() automatically when you (or a contributor)
pushed code to GitHub. To add your project to GitHub, follow the
instructions below (To do once after activating
version control) after creating the project.
README.md.
check_filename()?check_lintr()?check_spelling()? This
uses the default language you set in the previous question. Note that
you can set a different language on specific files. See
vignette("spelling", package = "checklist") for more
details on that.LICENSE.md in your project with the
LICENSE.md.checklist tools in an existing
projectRun setup_project(path_to_your_project). This works on
existing projects with or without a previous set-up of
checklist. In case of a previous set-up, it will take that
into account.
README.md when missing.
check_filename()?check_lintr()?check_spelling().README,
.gitignore and license. checklist will add
those files for you.mainWhen you push code to GitHub, the check_project GitHub
Action runs check_project() on your project. If any of the
checks fail, you will see a red cross in the “Actions” tab of your
repository on GitHub. Click on the “Actions” tab and then on the failed
workflow to see which check(s) failed and what the error message is. You
can then fix the issues locally and push the changes to GitHub to run
the checks again. Pro tip: you can also run check_project()
locally to see which checks fail before pushing to GitHub.
The GitHub Action might fail because of other issues, like problems
with installing dependencies. Please have a look at this section
in the vignette("getting_started", package = "checklist")
for more details on how to troubleshoot failing checks in the GitHub
Action.