Skip to content

Specify minimal version dependencies + add action #7

Closed

Description

@pawelru

Overview of verdepcheck

Workflow:

  • Determines versions of packages to install according to strategy
  • Dowload and installs each package
  • Performs R CMD check with the packages that were installed
    • Builds vignettes
    • Runs examples
    • Runs tests
    • Notifies of API call being used that are not available (package version might be too old)

Strategies:

  • min_isolated: dependencies resolved independently with different PPM snapshots
  • min_cohort: dependencies installed from 1 PPM snapshot, the most "minimum" version that was last released
  • release: installs latest release of all packages
  • max: install all dependecies from Github repos

[tasks]: verdepcheck 📦

[tasks]: Github Actions:

[tasks]: Repos to review (For the 🪹 CoreDev team)

  • Please add your name at the end of the PR.
  • Use the checklist below as a guideline on how to review the PRs
  • note that base packages don't need a Config/Needs/verdepcheck entry (stats, utils, grDevices, methods, ...)

📑 Checklist for PR review:

(each PR has the checklist)

Repos (please add your name at the end)


Repos (only max is failing)

Repos (failing)

(there are more repos but I have only included those which has integration tests at the moment of doing this task)

Repos (PRs to be closed and superseded by section above):

Click to see abandoned PRs

Activity

  1. self-assigned this
    on Jul 4, 2023
  2. averissimo commented on Jul 18, 2023

    @averissimo

    Non-exaustive list of motives behind some of the minimum versions that are required:

    Rcpp versions below v1.0.0 don't compile in R (>= 4) :

    • purrr use purrr (>= 0.3.0)
    • tidyr tidyr (>= 0.8.3)
    • tibble use tibble (>= 2.0.0)
    • rmarkdown use rmarkdown (>= 1.11)
    • knitr use knitr (>= 1.34)

    Compilation errors (header files changed)

    • styler use styler (>= 1.2.0)
    • stringr use stringr (>= 1.4.1)
      • stringi has problem compiling up to 1.7.3 with isNull not declared in scope, stringr from 2021 is needed
    • checkmate use checkmate (>= 2.1.0)
      • 2.1.0 :: Removed deprecated S macro DOUBLE_EPS from C source
    • testhat use testhat (>= 3.0.4)
      • error: size of array ‘altStackMem’ is not an integral constant-expression until 3.0.3

    Due to some functions not being exported

    • dplyr use dplyr (>= 1.1.0)
      • where re-export from tidyselect
    • yaml use yaml (>= 2.1.15)
      • adds function read_yaml write_yaml
    • r2rtf use r2rtf (>= 0.3.2)
      • adds render_safe in 0.3.0, but errors appear until 0.3.2
  3. added a commit that references this issue on Sep 5, 2023
  4. added a commit that references this issue on Sep 21, 2023
  5. averissimo commented on Sep 28, 2023

    @averissimo

    Current status:

    Short term:

    4 PRs to go, blocked by {rmarkdown} discussion: pharmaverse/teal.logger#49 (comment)

    teal, teal.logger & tern & tern.rbmi

    • (with some strategies failing, as they're supposed to)
    • probable action: add rmarkdown (>= 2.19), to suggests and rstudio/rmarkdown to Config/Needs/verdepcheck
    • alternative: Core dev or IDR needs to understand why R CMD check it's failing for some packages and not others in CI (local docker image runs without issues in all cases)
      • important: it's the R CMD check that is the problem not really the verdepcheck

    Medium/long term (will be resolved once all teal packages are on CRAN)

    Discussion on insightsengineering/verdepcheck#38

  6. added a commit that references this issue on Oct 23, 2023
  7. added a commit that references this issue on Dec 18, 2023
  8. added a commit that references this issue on Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions