{"id":18733543,"url":"https://github.com/insightsengineering/r-verdepcheck-action","last_synced_at":"2026-05-20T14:03:51.841Z","repository":{"id":103217316,"uuid":"598593815","full_name":"insightsengineering/r-verdepcheck-action","owner":"insightsengineering","description":"Github Action to check if R package works correctly with minimum version of dependencies installed","archived":false,"fork":false,"pushed_at":"2024-04-11T14:19:58.000Z","size":48,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-26T19:42:59.002Z","etag":null,"topics":["actions","github-actions","r"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/r-mindepscheck-action","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/insightsengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"custom":["https://pharmaverse.org"]}},"created_at":"2023-02-07T12:37:58.000Z","updated_at":"2024-06-25T13:18:32.687Z","dependencies_parsed_at":"2024-06-03T18:24:38.212Z","dependency_job_id":null,"html_url":"https://github.com/insightsengineering/r-verdepcheck-action","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fr-verdepcheck-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fr-verdepcheck-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fr-verdepcheck-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/insightsengineering%2Fr-verdepcheck-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/insightsengineering","download_url":"https://codeload.github.com/insightsengineering/r-verdepcheck-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239605124,"owners_count":19666998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","github-actions","r"],"created_at":"2024-11-07T15:10:20.705Z","updated_at":"2026-05-20T14:03:51.742Z","avatar_url":"https://github.com/insightsengineering.png","language":"R","funding_links":["https://pharmaverse.org"],"categories":[],"sub_categories":[],"readme":"# R Version Dependency Check Action\n\n## Description\n\nExecute R CMD CHECK using various strategies of package dependencies versions.\nThe aim is to check correctness of a `DESCRIPTION` file, i.e. minimal version of dependencies.\nThis covers only _direct_ dependencies, i.e. it does not resolve dependencies of dependencies recursively.\n\nExample:\n```mermaid\nflowchart LR\n    A-- imports --\u003eB;\n    B-- imports --\u003eC;\n```\n\nWhen executed for A, script would read A's `DESCRIPTION` file, determine version of B and install it using latest version of C (i.e. base package installation).\n\nPlease see [`verdepcheck`](https://github.com/insightsengineering/verdepcheck) package documentation for details.\n\n## Action type\n\nComposite\n\n## Author\n\n[Insights Engineering](https://github.com/insightsengineering/)\n\n## Inputs\n\n* `github-token`:\n\n  _Description_: Token with permissions to clone repositories with dependencies.\n\n  _Required_: `false`\n\n  _Default_: `\"\"`\n\n* `repository-path`:\n\n  _Description_: Directory where the checked package has been cloned.\n\n  _Required_: `false`\n\n  _Default_: `.`\n\n* `extra-deps`:\n\n  _Description_: Extra dependencies specified similarly as in the `DESCRIPTION` file, i.e. `\"\u003cpackage name\u003e (\u003coperator\u003e \u003cversion\u003e)\"` where both `\u003coperator\u003e` and `\u003cversion\u003e` are optional. Multiple entries are possible separated by `\";\"`.\n\n  _Required_: `false`\n\n  _Default_: `\"\"`\n\n* `check-args`:\n\n  _Description_: Optional value of `args` argument to `rcmdcheck::rcmdcheck` in form of a string with space as delimeter, e.g. `\"--no-examples --no-tests\"`.\n\n  _Required_: `false`\n\n  _Default_: `\"\"`\n\n* `build-args`:\n\n  _Description_: Optional value of `build_args` argument to `rcmdcheck::rcmdcheck` in form of a string with space as delimeter, e.g. `\"--force --keep-empty-dirs\"`.\n\n  _Required_: `false`\n\n  _Default_: `\"\"`\n\n* `strategy`:\n\n  _Description_: Strategy to test package dependencies. One of: `min_isolated`, `min_cohort`, `release`, `max`.\n\n\n  _Required_: `true`\n\n* `additional-env-vars`:\n\n  _Description_: Additional environment variables.\n\n  _Required_: `false`\n\n  _Default_: `\"\"`\n\n* `additional-repos`:\n\n  _Description_: Optional value that add R repositories for a given strategy. Multiple entries are possible separated by `\";\"`.\n\n  _Required_: `false`\n\n  _Default_: `\"\"`\n\n\n## Outputs\n\n_None_\n\n## Usage\n\n```yaml\nname: Dependency Test\n\non:\n  push:\n    branches:\n      - main\n  pull_request:\n    branches:\n      - main\n\njobs:\n  check:\n    runs-on: ubuntu-latest\n    name: Dependency Test\n    container:\n      image: rocker/tidyverse:4.4.1\n\n    steps:\n      - name: Checkout repo\n        uses: actions/checkout@v4\n        with:\n          path: repository\n\n      - name: Run Dependency Test\n        uses: insightsengineering/r-verdepcheck-action@latest\n        with:\n          github-token: ${{ secrets.REPO_GITHUB_TOKEN }}\n          strategy: release\n\n      - name: Upload lock file\n        if: always()\n        uses: actions/upload-artifact@v3\n        with:\n          name: lock-file\n          path: pkg.lock\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsengineering%2Fr-verdepcheck-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsightsengineering%2Fr-verdepcheck-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsightsengineering%2Fr-verdepcheck-action/lists"}