Added checktor as suggested dependency because it is used in a vignette.
Dependency checkinput: increase minimum version from 1.3.0 to 1.4.0 to use stricter argument checking for all_numbers(), is_number() and related functions.
Dependency usethis: increase minimum version from 2.0.1 to 2.2.0 to have more robust use_r() and use_test().
Vignette Package development: add subsection Background pointing to useful resources in section Add tests. Add checks by checktor. Add various references.
Vignette R Markdown and knitr: link to relevant chapters from The Epidemiologist R Handbook.
Added some more references.
The used version of roxygen2 increased from 8.0.0 to 8.1.0.
develcoder 0.10.0
Breaking changes
Dependency cffr: require minimum version 0.2.0 to be able to use argument dependencies of cff_create() and cff_write().
Dependency checkinput: increase minimum version from 1.0.0 to 1.3.0 to be able to use argument collapse of paste_quoted().
Dependency checkrpkgs: increase minimum versions from 1.0.0 to 1.1.0 to have correct versions of suggested dependencies.
Dependency devtools: require minimum version 2.0.0 because that is the major release after the conscious uncoupling.
Dependency fs: require minimum version 1.3.0 to be able to use argument recurse.
Dependency progutils: increase minimum version from 0.13.0 to 0.14.0 to be able to use argument collapse of paste_quoted().
Dependency tinytest: require minimum version 1.4.1 to be able to use argument strict in expect_message() and expect_warning().
Dependency tools: require minimum version 4.1.0 to be able to use package_dependencies() with different dependency types for direct and recursive dependencies.
Dependency usethis: require minimum version 2.0.1 to be able to use git_branch_rename(), git_branch_rediscover(), and use_pkgdown_github_pages().
check_tests() and diagnose_test_files(): use argument collapse of paste_quoted() to separate the quoted file names by newlines instead of by commas.
check_test_infra() and get_test_files(): renamed to diagnose_test_infra() and diagnose_test_files(), with major overhauls to use them more easily in check_test_files(). For get_test_files(), warn about ignored files and respect argument ignore_case.
Documentation
Vignette pkg_devel: URLs should use protocol https:// instead of http://, not the other way around. Point out to install the package before knitting the README. Expand info on checking reverse dependencies. Some change in overall structure.
develcoder 0.8.0
Breaking changes
Dependency desc: move from Suggests to Imports because it is used by check_test_infra().
Dependency fs: require minimum version 1.2.4 to be able to use function dir_ls() with argument fail in a vignette.
Suggested dependency goodpractice: require minimum version 1.1.0 which changed default argument checks in goodpractice::goodpractice().
Dependency progutils: increase minimum version from 0.9.0 to 0.13.0 to prevent spurious warnings from wrap_text().
Dependency remotes: require minimum version 2.2.0 to be able to use function install_version() with the specification of a minimum version in a vignette.
Add suggested dependency withr to create temporary projects when testing.
Added functions
check_test_infra() to check if the infrastructure for testing is present and refers to the current package.
Documentation
Vignette pkg_setup: expand section on licenses. Move documentation on GitHub Actions to vignette pkg_devel.
Vignette pkg_devel: discuss choosing dependencies. Add section with documentation and help for GitHub Actions. Explain how to show the DESCRIPTION file when discussing how to normalise it. Various clarifications.
Vignette rmarkdown_knitr: fuller discussion of R markdown file and package.
develcoder 0.7.0
Breaking changes
Dependencies checkinput, fs, and progutils: move from Suggests to Imports because they are used by missing_test_files(), increasing minimum version for progutils from >= 0.5.0 to >= 0.9.0 to use a safe version of create_tempdir().
Add dependency testthat to Suggests because it is mentioned in a vignette.
Remove dependency pkgcheck because their checks are already covered by goodpractice.
Added functions
check_test_files() to check if all function files have a corresponding test file and vice versa.
get_test_files(): helper function for check_test_files().
Documentation
Vignette pkg_setup: explain how to use testthat instead of tinytest. Add a clearer introduction to pkgdown.
Vignette pkg_devel: various additions: explain how to not run or not display code in examples. Elaborate explanation how to find when a feature was introduced. Elaborate section Automated checks. No longer suggest using pkgcheck which requires system libraries.
Vignette rmarkdown_knitr: expand section with examples of formatting, showing both the code and the output.
develcoder 0.6.0
Breaking changes
Add dependency desc to Suggests because it is used in a vignette.
Dependency checkrpkgs: require minimum version 1.0.0 to depend on a stable version.
develcoder 0.5.0
Breaking changes
Dependency checkinput: require minimum version 1.0.0 to depend on a stable version.
Documentation
Remove old NEWS.
Section ‘Add package-wide documentation’: put code closer to remarks.
develcoder 0.4.0
Breaking changes
Dependency progutils: increase minimum version from 0.2.0 to 0.5.0 to prevent progutils::create_dir() from unsafely returning the working directory if creating the directory fails.
Dependencies checkinput and checkrpkgs: remove unnecessary requirements for a minimum version.
develcoder 0.3.0
Breaking changes
Add dependencies revdepcheck and xfun to Imports because they are used in a vignette to check reverse dependencies.
Documentation
Vignette Package setup: remove section ‘Importing packages or functions’ because it duplicates section ‘Update dependencies’ from the vignette Package development.
Remove the NEWS template: looking at real NEWS files is much more useful.
develcoder 0.2.0
Breaking changes
Dependencies: increase minimum version of checkinput from 0.7.0 to 0.8.0, of progutils from 0.0.9 to 0.2.0, and of checkrpkgs to >= 0.9.0 to update argument name allow_zero to allow_zero_length.