- Updated
README.md
. - Improved support for
organisation
. - Add
set_license()
. check_filename()
allows aCODEOWNERS
file.- The checklist summary displays the unstaged git changes.
- The GitHub Action on packages installs the
roxygen2
version listed in theDESCRIPTION
of the package it checks.
- Add an
organisation
class to store organisation rules different from those of the Research Institute for Nature and Forest (INBO). Seevignette("organisation", package = "checklist")
for more information. - The output of the check shows the git diff (#77).
add_badges()
helps to add badges to theREADME
.- Put double quotes around the title and abstract fields of
CITATION.cff
. check_documentation()
handles assignment functions and re-exported functions correctly.check_lintr()
ignoresrenv
subdirectories (#118).- Update to
zen4R
version 0.10 to reflect the Zenodo API changes (#125). update_citation()
no longer introduces new lines (#124) and handles single quotes in titles (#115).- You can add multiple affiliations per author (#123).
Separate them by a semi-colon (;) in a
DESCRIPTION
or the yaml of a bookdown. Use multiple footnotes is aREADME.md
. check_spelling()
handles leading or trailing backwards slashes (#107).check_cran()
ignores irrelevant CRAN notes.
- Fix release GitHub Action.
- Bugfix in
update_citation()
on aDESCRIPTION
. check_spelling()
handles Roxygen2 tags@aliases
,@importMethodsFrom
,@include
,@keywords
,@method
,@name
,@slot
check_spelling()
ignores numbers.- Ask which GitHub organisation to use when create a new project. Default equals the organisation's default.
- GitHub Action for project allow to install package prior to checking the
project.
Use this in case
check_lintr()
returns an error about global variables in a function and you didrequire()
the package. - Fix release GitHub Action.
- New
organisation()
class to hold the requirements of the organisation. For the time being this is hard-coded to the Research Institute for Nature and Forest (INBO). - Author affiliations must match one of the affiliations set in
organisation()
. The membership of an author is determined by their e-mail or their affiliation. This is checked when creating or using author information and when updating citation information. read_checklist()
looks forchecklist.yml
in parent folders when it can't find it in the provided path.validate_orcid()
checks the format and the checksum of the ORCID.- Add
vignette("folder", package = "checklist")
.
citation_meta()
gains support forbookdown
reports.- Add
bookdown_zenodo()
which first extracts the citation metadata from the yaml header. Then it cleans the output folder and renders the required output formats. Finally it uploads the rendered files to a draft deposit on Zenodo. setup_project()
andcreate_project()
provides support forrenv
.
- Fixes two bugs in case
MIT
license was chosen - GitHub Actions now uses the latest version of checklist as default when checking packages or projects.
- Improved
create_project()
andsetup_project()
which interactively guides the user through the set-up. - Add
vignette("getting_started_project", package = "checklist")
. - Improved GitHub Actions.
They use the built-in
GITHUB_TOKEN
. The user only needs to set theCODECOV_TOKEN
in case of a package. - Fixes a note about
"MIT"
license. - The Dockerimage uses the same dictionaries as the local installation.
- Add a German dictionary?
- Spell check
roxygen2
tags in.R
files. - Don't spell check
.Rd
files generated byroxygen2
. check_cran()
ignoresDays since last update
note.check_documentation()
yields a warning when it find documented but unexported function. Use the@noRD
tag in case you still want to document the function without exporting it.- Improved error messages for
check_news()
. check_source()
is now deprecated. Usecheck_project()
instead.- Parse
DESCRIPTION
(for a package) orREADME.md
(for a project) to extract citation information into acitation_meta
object. Then export this object into the different citation files. - Standardise the
DESCRIPTION
andREADME.md
to accommodate all citation information.DESCRIPTION
gainschecklist
specific settings likeConfig/checklist/communities
andConfig/checklist/keywords
. - Store author information to reuse when running
create_package()
orcreate_project()
. - Add
check_folder()
.
check_license()
allows"MIT"
license in addition to"GPLv3"
for packages
- Add spell checking functionality.
See
vignette("spelling", package = "checklist")
for more details. - The
checklist
class stores the required checks. - Add
setup_project()
to set-upchecklist
on an existing project. This function allows the user to choose which checks to be required. - Add
check_project()
to run the required checks of a project. - Fix bug in
.zenodo.json
when only one keyword is present.
check_description()
enforces aLanguage
field with a valid [ISO 639-3 code] (https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Languages/List_of_ISO_639-3_language_codes_(2019)).create_package()
gains a requiredlanguage
argument. This adds the requiredLanguage
field to theDESCRIPTION
.checklist
objects gain anupdate_keywords
method. This is currently only relevant for packages. Usage: check your package withx <- check_package()
. Add keywords withx$update_keywords(c("keyword 1", "keyword 2")
. The method adds the keyword"R package"
automatically. Store the keywords withwrite_checklist(x)
. Runupdate_citation()
to update the citation files with the keywords. Usex$get_keywords()
to retrieve the current keywords.- Improve the extraction of the DOI from the URL field.
- Allow
.rda
files in theinst
folder of a package. - Allow back ticks around package name in
NEWS.md
. - Add
prepare_ghpages()
. check_cran()
ignores the insufficient package version when checking the main branch. This required when checking an R package when the current version equals the latest version on CRAN.- Define explicit which lintr options to use.
- Add
vignette("zenodo")
on how to set up the integration with Zenodo and ORCID check_environment()
makes sure that the required repository secrets are set.check_package()
performs this check when it runs in a GitHub Action. A missing repository secret results in an error. It points tovignette("getting_started")
which indicates how to solve it.
- Fix problem in
write_zenodo_json()
which produced a.zenodo.json
which failed to parse on https://zenodo.org. write_zenodo_json()
andwrite_citation_cff()
return the checklist object and pass it toupdate_citation()
.
- Update URLS to
lintr
.
- Fixed git diff used by
check_description()
when checking for changes in version number.
update_package()
escapes double quotes in the abstract ofinst/CITATION
.- Docker image uses the development version of
lintr
check_source()
handles projects withrenv
on GitHub Actions.
- Improve error message when changes in
CITATION
need to be commit. (#64) create_package()
can use maintainer information stored in the options. Seeusethis::use_description()
on how to set the option.- Add R universe badges to README.
- Add
write_zenodo_json()
andwrite_citation_cff()
. - Improve the checklist GitHub Actions.
create_package()
replaces package name place holder with actual package name in_pkgdown.yml
.
- A new function
update_citation()
creates or updates a default citation ininst/CITATION
. - When INBO is not listed as copyright holder,
check_description()
returns a warning rather than an error. This implies that you can motivate to ignore it viawrite_checklist()
. (#33) - Ignore all
.Rd
files when runningcheck_filename()
. (#59) check_filename()
allowsR/sysdata.rda
. (#62)
- New
new_branch()
function to start a new branch from the most recent version of the main branch. This function will runclean_git()
before creating the new branch. check_package()
runs thepkgdown::build_site()
by default in interactive sessions. The function gains apkgdown
argument to turn of this behaviour.
check_filename()
handles git repositories without commits.check_filename()
ignores Rd files. They have use a different naming convention when generated byroxygen2
.clean_git()
yields cleaner warnings.create_hexsticker()
will create the target directory when it doesn't exist.
- Add Docker build tests.
check_filename()
ignoresdocker-compose
files.
- Exclude
renv
andpackrat
folders fromcheck_lintr()
. - GitHub Actions bash script for packages checks out the main branch before setting tags.
- Install
codemetar
from GitHub because is it not available from CRAN. - Install
devtools
from CRAN as the relevant version in available on CRAN. - Add GitHub Action to automatically remove artefacts. This is required to keep the used storage to a minimum.
- Checks on different OS's only halt on errors.
Because importing
codemetar
from GitHub results in a warning. - Don't install dependencies automatically in the
Dockerfile
. This triggers an error when a dependency is not listed in theDockerfile
. pkgdown
ensures that the reference page lists all exported functions.- New
pkgdown
cascading style sheet. - Bugfix in
clean_git()
.
- Add
clean_git()
to bring a local git repo up-to-date.- Bring local branches up-to-date when there are behind the origin.
- Remove remote branches when removed from the origin.
- Remove local branches when fully merged into the main branch.
- Warn for diverging branches.
create_hexsticker()
yields ansvg
file instead ofpng
. The user can optionally specify ansvg
icon file to add to the hexagonal sticker.- Keep failed build artefacts only 14 days (inbo/tutorials#251).
- Avoid false positive linters when
.Rproj
file is put under version control. check_files()
considers files withsvg
extensions as graphical files.- Minor bugfix in
entrypoint_package.sh
.
- Many communities, both on GitHub and in the wider Git community, are
considering renaming the default branch name of their repository from
master
. GitHub is gradually renaming the default branch of our own repositories frommaster
tomain
. Thereforechecklist
now allows both amain
ormaster
branch as default. In case both are present,checklist
usesmain
. Using only amaster
branch yields a note. Hence you must either which to amain
branch or allow the note withwrite_checklist()
(#44).
- Convert fancy single quotes to neutral single quotes (#42).
- Fix
check_description()
.
- Create a release when pushing a tag starting with
v
. We use a GitHub Action to create the release instead of an R function. - New function:
setup_source()
to setup projects with only source files. - Add auxiliary function
create_hexsticker()
. - Update
check_filename()
rules- Allow a
data-raw
folder - Allow more default GitHub file names
- Ignore font files
csl
files must follow the rules for graphics files
- Allow a
create_package()
adds- URL and BugReports to
DESCRIPTION
- GitHub Actions
- basic setup for
pkgdown
.
- URL and BugReports to
setup_package()
updates.Rbuildignore
and basic setup forpkgdown
.- Add more documentation on all functions.
- Add two vignettes:
vignette("getting_started")
vignette("philosophy")
- Use Ubuntu 18.04 instead of the end of life Ubuntu 16.04 when checking the package on the previous R release (#31).
- Pushing to master should automatically create a release, using
set_tag()
. - Add a Zenodo DOI badge to the README and DOI URL to DESCRIPTION.
check_description()
now checks authors (#7).- INBO is set as copyright holder and funder.
- Every author has an ORCID.
setup_package()
adds the required files for apkgdown
website (#21).
- Drop the
codemeta.json
file. It requires constant updating as it contains a package file size.
check_documentation()
allowsNEWS.md
to have level 2 headings (##
) and single line subitems (*
). It doesn't count URLs when determining the line of a line. This allows lines to be longer than 80 characters due to long URLs.check_filename()
is more liberal.- Allows files ending on
-package.Rd
. - Allows
json
oryml
files starting with a dot and followed by letters. - Allows filename
cran-comment.md
andWORDLIST
. - Allows
man-roxygen
as folder name. - Requires underscore (
_
) as separator for non-graphics files. - Requires dash (
-
) as separator for graphics files. - Basename separator issue are warnings instead of errors.
So you can allow these warnings via
write_checklist()
.
- Allows files ending on
- Fix deploying pkgdown website and release.
- Package require a
codemeta.json
as written bycodemetar::write_codemeta
. Suggestions bycodemetar
to improve the package become checklist notes. set_tag()
fails when in a detached HEAD state.set_tag()
creates a release when a tag is created on GitHub.check_cran()
ignores system time check when world clock API is not available.check_license()
verifies the license information of a package. This check is included viacheck_description()
incheck_package()
.
set_tag()
skips if the tag already exists.create_package()
sets a code of conduct and contributing guidelines.create_package()
setsLICENSE.md
.- Run
pkgdown::build_site()
during thecheck_pkg
GitHub action. - Deploy the
pkgdown
website to agp-pages
branch when pushing to master during thecheck_pkg
GitHub action.
- Add
validate_email()
to check for valid email addresses. - Add
orcid2person()
which converts a valid ORCID into aperson
object. - Add
create_package()
which prepare an RStudio project with an empty package.
- Correctly check the package version on the master branch and during rebasing.
- Updating the master branch will set a tag with the current version.
- Added a
NEWS.md
file to track changes to the package. - Added a
README.Rmd
file with installation instructions. - Rework
checklist_template()
intowrite_checklist()
. - Add
check_description()
. - Add
check_documentation()
. - Add
check_filename()
. - Add
check_source()
. check_lintr()
also works on source code repositories.- Activate GitHub action
inbo/check_package
.
- Initial version.
- Create
checklist
R6 class. - Add
check_cran()
. - Add
check_lintr()
. - Add
check_package()
. - Add
read_checklist()
. - Add
checklist_template()
. - Add Dockerimage for GitHub actions.