pkgstats data (pkgstats#121).pkgstats test data to have integer-valued count columns.is_test_env() via new PKGCHECK_TESTS envvar.RRT_TEST_ALL.has_orcid to :eyes: only, not hard fail.print methodshas_orcid check to exclude any 'aut' with ROR.has_token check to avoid calling GH for badge info on CRAN machinesfake_pkgstats_test_data() fn to avoid downloading pkgstats results in tests.Initial CRAN release
remotes deps on other ropensci-review-tools pkgs in preparation for CRAN releaseget_gh_token() fn, replaced with gh::gh_token().fake_pkgstats_test_data() fn to avoid large dl in tests.skip_on_os() conditions in tests (#378)check-srr), improving detection of incomplete standards
adoption.sp to the "truly obsolete" category in the obsolete-package-deps
check.rm_global_assign_in_memoise to handle <<- within memoise calls,
preventing false positives in the global-assignment check.obsolete_pkg_deps function and improved ordering of checks
via order_checks.dependabot.yml to keep GitHub Actions dependencies up to date;
bumped actions/checkout, actions/github-script,
docker/build-push-action, docker/setup-buildx-action, and
docker/login-action to current versions.bspm before final sf reinstall in Dockerfile to fix
library-linkage issues; re-installed sf at end of Docker script.r-universe-org/base-image to Dockerfile.srr standards (v0.2) and for changes in
pkgstats output.parse_pkg_deps and order_checks.catch lintr errors so that lintr failures no longer crash the full
check run.render_markdown/render_md2html and added examples and return
values to all exported functions.render_markdown to render_md2html for clarity.pkgcheck GitHub Action integration (add pkgcheck action).check-fns-have-return-vals: flags exported functions whose
roxygen documentation lacks a @return tag.check-default-branch: warns when the default git branch is not
main.heavy_check_mark, eyes,
heavy_multiplication_x) to distinguish clear passes, marginal results, and
clear failures across all check output.fns_have_return_vals to use tools::parse_Rd instead of
roxygen2 for parsing return values, making it more robust.fns_have_return_vals from the print method; results now appear
only in the summary method.list-checks vignette documenting every check.pkgchk_ function documentation pages; added roxygen2 family
tags throughout.@schneiderpy to the contributors list.bspm to r2u for faster, more reliable
package installation.ubuntugis to ubuntugis-unstable to fix
spatial library compatibility.roxygen2 family tag for the check-has-codemeta family.roreviewapi Dockerfile to this one.allcontributors list.check-unique-fn-names: verifies that no exported function name
duplicates a name already used by a CRAN package (fn_names_on_cran).check-renv / renv_activated: detects packages where renv is
activated in the project, which can interfere with dependency resolution.has_renv check to renv_activated with an improved user-facing
message.misc_check_counts to a dedicated summary function replacing
has_misc_checks.format-checks.R to handle checks with empty print methods.check_left_assigns to correctly handle edge cases.pkgchk_fns_have_exs to exclude package and data docTypes from
the examples check.rm_global_assigns_in_ref_class to avoid false positives from
<<- inside R5/Reference Class definitions.cache/ to cache/R/ for cleaner
organisation.use_cache parameter to the main pkgcheck function, allowing callers
to bypass the cache.cache_pkgstats_component to cache_pkgcheck_... for naming
consistency.httr / jsonlite to jsonlite only.goodpractice as a GitHub remote dependency (temporarily removed from
CRAN) in all workflows and Dockerfile.Julia pre-installation to the Dockerfile; added explicit branch
parameter to get_latest_commit.roxygen2 to 7.2.1; updated various workflow job names.use_github_action_pkgcheck documentation; described pkgcheck-action
in README.check to pkgcheck.check-license: validates that the package LICENSE field is a
recognised CRAN-compatible identifier (closes #73).check-pkgdown: detects whether a pkgdown site exists and is
configured (closes #100).check-obsolete-pkg-deps: flags dependencies on packages considered
truly or potentially obsolete on CRAN (closes #44).main.check-fns-have-exs to exclude dataset documentation entries
(closes #103).check-on-cran with a tryCatch around the CRAN URL test.check-scrap to detect the same scrap file appearing in different
locations.roxygen2 family tag check (closes #100) as it produced
many false positives.pkgchk_uses_roxygen2; fixed check_fns_have_exs logic.msg_pre / msg_post print sub-methods for all check types,
providing a consistent before/after hook pattern (closes #108).pkgfns_as_details section to markdown output, listing all exported
function names in a collapsible block (closes #117, #137).pkgdeps_as_table section to markdown output, listing package
dependencies and their imported call counts.alert-success, alert-danger) in HTML
output (closes #82).checks_to_markdown scrap-check key name.get_re_exports and ncalls column to the package-dependency summary.external_fns data item to the checks object, exposing counts of
calls to functions in each imported package.use_github_action_pkgcheck / use_github_check function for
inserting the pkgcheck GHA template into a package (closes #135).branch parameter to use_github_action_pkgcheck so the action
targets the correct branch (closes #135).NOT_CRAN environment variable to the GHA template (fixes #134).read_pkg_guide helper for reading the rOpenSci packaging guide.monthly.yaml workflow to send automated monthly check summaries
(closes #123).allcontributors integration.visjs path handling to be compatible with GHA runners (closes
#127).clean-snapshots.R script to normalise platform-specific paths in
snapshot output (closes #111).tempdir() as the cache directory, isolating them
from the real user cache (closes #113).test-extra-checks and associated snapshots.test-order-checks.R.pandoc --wrap=preserve for reproducible HTML snapshot output.goodpractice = FALSE parameter to the main pkgcheck function,
allowing tests (and users) to skip the slow goodpractice step.ghql dependency with gh for all GitHub API calls (closes #256
prep).httr with httr2 for all HTTP requests.cloc dependency.ubuntugis PPA, pre-installed
spatial system libraries, pre-installed arrow, duckdb, sf.add-apt-repository / software-properties-common to Docker image.rappdirs-based cache path to use fs::path_abs..onUnload to reset options and environment variables set during
package load.pkgcheck() object: separated info items
(git metadata, pkgstats, srr, CI badges, URLs) from checks items (each
individually named pkgchk_*).format-checks.R into collate-checks.R and
individual per-check source files under R/check-*.R and R/info-*.R.collate_* functions to summarise_* for consistency.summarise_check function dispatched per check type.check-has-citation: verifies a CITATION file exists (closes #9).check-has-codemeta: verifies a codemeta.json file exists (closes #9).check-has-contrib: verifies a CONTRIBUTING.md file exists (closes #9,
#35).check-has-vignette: detects presence of at least one built vignette
(improved by Maëlle Salmon).check-scrap: detects unwanted files such as .DS_Store in the git tree
(closes #27).check-pkgname-available: checks that the package name is not already on
CRAN.check-left-assign: reports use of <- vs = for assignment in function
bodies.check-fns-have-exs: reports exported functions lacking @examples tags.check-on-cran: reports whether the package is already on CRAN.check-uses-roxygen2: checks that roxygen2 is used for documentation.check-covr: reports test coverage via covr.print and summary S3 methods for the pkgcheck class; added
dedicated output_pkgchk_* functions for each check type, providing
consistent screen and markdown rendering.checks_to_markdown function that converts the full pkgcheck result
to a GitHub-flavoured Markdown string, including a visjs network diagram and
an srr standards section.render_markdown function to render the Markdown string to HTML via
rmarkdown.symbol_tck / symbol_crs helpers (tick and cross Unicode
symbols) used uniformly across all output functions; added fmt parameter
for screen vs. markdown formatting.order_checks function to control the display sequence of check items
in summary output.list_pkgchecks function (with quiet parameter) to enumerate all
currently active checks.extra_check_prints_from_env allowing extra checks supplied via an
environment variable to appear in the print output (closes #40).goodpractice into its own pkgchk_gp check; divided gp results
into four labelled sections (rcmdcheck, cyclocomp, lintr, covr); added
lintr section to output (closes #19).get_gp_report (exported) and local caching of gp results in the
cache directory.convert_gp_components to produce Markdown-formatted sub-sections.srr package: captured the srr version, copied the srr
Markdown report to the static cache directory, and added srr categories to
the print and summary output.add_srr_categories_from_report function.collate_srr_checks / summarise_srr_checks functions.pkgcheck_bg for running checks in a background callr process
(via callr::r_bg), with checks_running_in_bg to detect concurrent runs.stdout_stderr_cache / logfile_names helpers for routing
background-process output to cache files..onLoad: auto-creates pkgcheck and
static sub-directories under the rappdirs application directory.ci_badges check: scrapes CI badges from the package README to
determine CI provider status (GitHub Actions, Travis, etc.).ci_results_gh function: fetches GitHub Actions workflow run results
directly from the GitHub API via gert and gh.gert equivalents.use_github_action_pkgcheck stub and pkgdown GitHub Actions workflow.check-other-OS workflow to test on additional platforms.serve_api function wrapping a
plumber API.check, goodpractice, srr, log,
report, editorcheck; later consolidated into roreviewapi.dl_gh_repo / dl_repo helpers for downloading package source from
GitHub.cli, gert, gh, glue, pkgstats, rappdirs,
rmarkdown, visNetwork, withr.cloc; removed plumber-related files; reduced exported fns.CONTRIBUTING.md (closes #35) and CODE_OF_CONDUCT.md.pkgchk_*
checks (closes #29, #36).checks_to_markdown, the full list of checks, and
Docker/API usage.@maelle (Maëlle Salmon) and @assignUser (Jacob Wujciak-Jens) as
package authors.pkgcheck() main function, background-process
helper (bg parameter), and pg_report entry point.rappdirs-based cache directory with cache_dir parameter and
corresponding environment variable.pkgdown documentation action.codemeta.json.