goodpractice 1.0.5.9000 (dev version)
-
gp()now fails if the path provided to it is not a package (does not contain a DESCRIPTION file) (#190, @maelle) - goodpractice now uses cli, and no longer depends on crayon and clisymbols (@olivroy, #167).
- If your editor supports it, goodpractice now prints clickable hyperlinks to console.
- New
describe_check()function to print descriptions of all implemented checks (@152) - New
r_file_extensioncheck: flags R scripts using.ror.qinstead of.R(#121). - New
print_return_invisiblecheck: flags print methods that don’t returninvisible(x)(#49). - New
spellingcheck: flags misspelled words in documentation viaspelling::spell_check_package()(#84). - New DESCRIPTION checks (#122, #85):
-
description_not_start_with_package: Description should not start with “This package” -
description_urls_in_angle_brackets: URLs in Description must be wrapped in angle brackets -
description_doi_format: DOIs should use<doi:...>not full URLs -
description_urls_not_http: URLs should use https not http -
no_description_duplicate_deps: No duplicate packages across dependency fields -
description_valid_roles: Authors@R roles must be valid MARC relator codes -
description_pkgname_single_quoted: Package names in Title/Description must be single-quoted
-
goodpractice 1.0.5
CRAN release: 2024-06-04
- New maintainer: rOpenSci
- Package reinstated on CRAN, after archiving of previous version.
- CRAN fixes - skipping failing test and adding to package Rd
- Adding docs.ropensci site to DESCRIPTION
goodpractice 1.0.3
CRAN release: 2022-07-13
Additions:
- Limit for cyclomatic complexity check can be adjusted using the
goodpractice.cyclocomp.limitoption, default 50 (#132, @fabian-s). - The number of lines printed to the console by each check result can be set using the new
positions_limitparameter intoprint()- previously it was always 5 lines (#130, @fabian-s). - GitHub Actions now used for CI/CD checks (#145), as well as to calculate code coverage with {covr} and build the package site with {pkgdown}.
Bugfixes:
