• Fix release GitHub Action.
  • Bugfix in update_citation() on a DESCRIPTION.
  • 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 did require() 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 for checklist.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").
  • 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() and setup_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 the CODECOV_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 by roxygen2.
  • check_cran() ignores Days 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. Use check_project() instead.
  • Parse DESCRIPTION (for a package) or README.md (for a project) to extract citation information into a citation_meta object. Then export this object into the different citation files.
  • Standardise the DESCRIPTION and README.md to accommodate all citation information. DESCRIPTION gains checklist specific settings like Config/checklist/communities and Config/checklist/keywords.
  • Store author information to reuse when running create_package() or create_project().
  • Add check_folder().
  • Add spell checking functionality. See vignette("spelling", package = "checklist") for more details.
  • The checklist class stores the required checks.
  • Add setup_project() to set-up checklist 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 a Language 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 required language argument. This adds the required Language field to the DESCRIPTION.
  • checklist objects gain an update_keywords method. This is currently only relevant for packages. Usage: check your package with x <- check_package(). Add keywords with x$update_keywords(c("keyword 1", "keyword 2"). The method adds the keyword "R package" automatically. Store the keywords with write_checklist(x). Run update_citation() to update the citation files with the keywords. Use x$get_keywords() to retrieve the current keywords.
  • Improve the extraction of the DOI from the URL field.
  • Allow .rda files in the inst 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.

Bugfix

Bugfix

Bugfix

Bugfix

  • update_package() escapes double quotes in the abstract of inst/CITATION.
  • Docker image uses the development version of lintr
  • check_source() handles projects with renv on GitHub Actions.

Bugfix

  • create_package() replaces package name place holder with actual package name in _pkgdown.yml.

User visible changes

  • New new_branch() function to start a new branch from the most recent version of the main branch. This function will run clean_git() before creating the new branch.
  • check_package() runs the pkgdown::build_site() by default in interactive sessions. The function gains a pkgdown argument to turn of this behaviour.

Bugfixes

Package management

  • Exclude renv and packrat folders from check_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 the Dockerfile.
  • pkgdown ensures that the reference page lists all exported functions.
  • New pkgdown cascading style sheet.
  • Bugfix in clean_git().

User visible changes

  • 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 an svg file instead of png. The user can optionally specify an svg icon file to add to the hexagonal sticker.
  • Keep failed build artefacts only 14 days (https://github.com/inbo/tutorials/issues/251).

Bugfixes

  • Avoid false positive linters when .Rproj file is put under version control.
  • check_files() considers files with svg extensions as graphical files.
  • Minor bugfix in entrypoint_package.sh.

User visible changes

  • 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 from master to main. Therefore checklist now allows both a main or master branch as default. In case both are present, checklist uses main. Using only a master branch yields a note. Hence you must either which to a main branch or allow the note with write_checklist() (#44).

Bugfixes

  • 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
  • create_package() adds
    • URL and BugReports to DESCRIPTION
    • GitHub Actions
    • basic setup for pkgdown.
  • setup_package() updates .Rbuildignore and basic setup for pkgdown.
  • Add more documentation on all functions.
  • Add two vignettes:
  • 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 a pkgdown website (#21).
  • Drop the codemeta.json file. It requires constant updating as it contains a package file size.
  • check_documentation() allows NEWS.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 or yml files starting with a dot and followed by letters.
    • Allows filename cran-comment.md and WORDLIST.
    • 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().
  • Fix deploying pkgdown website and release.
  • Package require a codemeta.json as written by codemetar::write_codemeta. Suggestions by codemetar 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 via check_description() in check_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.