{"id":16572097,"url":"https://github.com/eddelbuettel/r-ci","last_synced_at":"2025-09-11T17:36:53.419Z","repository":{"id":38234195,"uuid":"315042091","full_name":"eddelbuettel/r-ci","owner":"eddelbuettel","description":"CI for R at Travis, GitHub Actions, Azure Pipelines, ...","archived":false,"fork":false,"pushed_at":"2025-07-25T13:44:17.000Z","size":75,"stargazers_count":29,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-25T20:42:22.996Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://eddelbuettel.github.io/r-ci","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-22T13:18:38.000Z","updated_at":"2025-07-25T13:44:21.000Z","dependencies_parsed_at":"2025-07-25T15:33:45.768Z","dependency_job_id":"a065222d-5a13-443f-86a1-486472a23527","html_url":"https://github.com/eddelbuettel/r-ci","commit_stats":{"total_commits":53,"total_committers":3,"mean_commits":"17.666666666666668","dds":"0.037735849056603765","last_synced_commit":"8d57a049242c952fcf5fccb5c672fa3e6c730218"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eddelbuettel/r-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/r-ci/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fr-ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273051868,"owners_count":25037078,"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","status":"online","status_checked_at":"2025-08-31T02:00:09.071Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-11T21:26:21.214Z","updated_at":"2025-08-31T22:42:20.784Z","avatar_url":"https://github.com/eddelbuettel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## r-ci: Continuous Integration for R at Travis, GitHub, Azure, ...\n\nThis is the successor / continuation of the [r-travis](https://github.com/eddelbuettel/r-travis)\nrepository, which is itself a maintained fork of the (now deprecated) original\n[r-travis](https://github.com/craigcitro/r-travis) repository by Craig Citro et al.  I was an early\n[contributor to this project](https://github.com/craigcitro/r-travis/graphs/contributors), and quite\nlike its design and features -- so I have been keeping it around, maintained and extended it. It is\nmy 'go-to' CI setup for a few dozen repositories affecting a fairly decent number of users.\n\n### Documentation\n\nSee the [r-ci webpage](https://eddelbuettel.github.io/r-ci) for a brief overview of usage with\nGitHub Actions, Travis, Azure DevOps and Docker. See [this r^4 blog\npost](http://dirk.eddelbuettel.com/blog/2021/01/07#032_portable_ci_with_r-ci) for a short\n[video](https://youtu.be/W5yYkfFKBG4) and [background\nslides](https://dirk.eddelbuettel.com/papers/r4_portable_ci.pdf).\n\n\n### Basic Usage \n\nA minimal example of use with Travis follows:\n\n```sh\nlanguage: c\nsudo: required\ndist: focal\n\nbefore_install:\n  - curl -OLs https://eddelbuettel.github.io/r-ci/run.sh \u0026\u0026 chmod 0755 run.sh\n  - ./run.sh bootstrap\n\ninstall:\n  - ./run.sh install_deps\n\nscript:\n  - ./run.sh run_tests\n```\n\nThis downloads the `run.sh` script, uses it to _bootstrap_ the test environment, then installs\ndependencies via `install_deps` and finally runs tests. For a realistic but real example see _e.g._\n[this .travis.yml file of package\ndigest](https://github.com/eddelbuettel/digest/blob/master/.travis.yml).  For another example, see\npackage [tidyCpp](https://github.com/eddelbuettel/tidycpp/) which shows how to use the `run.sh`\nscript [with Travis CI](https://github.com/eddelbuettel/tidycpp/blob/master/.travis.yml) as well as\n[with GitHub\nActions](https://github.com/eddelbuettel/tidycpp/blob/master/.github/workflows/R-CMD-check.yaml), or\npackage [dang](https://github.com/eddelbuettel/tidycpp/) (featured in the\n[video](https://youtu.be/W5yYkfFKBG4) mentioned above) Numerous variations are possible: running\n'test matrices' across macOS and Linux, using BSPM for binaries (both of those [are used by\ndigest](https://github.com/eddelbuettel/digest/blob/master/.travis.yml), running with several `g++`\nversions (as used by\n[RcppSimdjson](https://github.com/eddelbuettel/rcppsimdjson/blob/master/.travis.yml), ...).\n\nWe also use the same approach of downloading `run.sh` and invoking it for the different steps in\nwith GitHub Actions (_e.g._ for\n[tidyCpp](https://github.com/eddelbuettel/tidycpp/blob/master/.github/workflows/R-CMD-check.yaml)). There\nis also an [Action for\nGitHub](https://github.com/eddelbuettel/github-actions/tree/master/r-ci-setup) to download `run.sh`\nand set it up. Similarly, Azure Pipelines can be used (as was done by a test repo on Azure).\n\nThere are also other options of use with PPAs and more---for fullest details see the source of the\nshell script `run.sh`.\n\nAs of September 2022, we rely on [r2u](https://eddelbuettel.github.io/r2u/) to supply a full set of\nbinaries for CRAN for use on Ubuntu LTS. You can use it via `install_deps()` or `install_all()`\nwithout having to supply the `r-cran-*` packages explicitly.\n\n### Author\n\nDirk Eddelbuettel (for this maintained fork)\n\nCraig Citro, Kirill Mueller, Dirk Eddelbuettel, ... (for the original r-travis)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fr-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Fr-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fr-ci/lists"}