{"id":19584100,"url":"https://github.com/easystats/workflows","last_synced_at":"2025-04-27T11:31:33.049Z","repository":{"id":60514953,"uuid":"531492693","full_name":"easystats/workflows","owner":"easystats","description":"GitHub Actions for {easystats} packages","archived":false,"fork":false,"pushed_at":"2025-04-24T09:00:17.000Z","size":630,"stargazers_count":10,"open_issues_count":6,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-24T09:38:44.470Z","etag":null,"topics":["github-actions","r-package-automation","r-packages"],"latest_commit_sha":null,"homepage":"https://indrajeetpatil.github.io/preventive-r-package-care","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easystats.png","metadata":{"files":{"readme":"README.Rmd","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,"zenodo":null}},"created_at":"2022-09-01T11:41:13.000Z","updated_at":"2025-04-24T09:00:21.000Z","dependencies_parsed_at":"2023-10-02T13:02:27.393Z","dependency_job_id":"a2ef1cea-f5f8-4d1c-bfeb-20bb7ad8b10e","html_url":"https://github.com/easystats/workflows","commit_stats":{"total_commits":375,"total_committers":5,"mean_commits":75.0,"dds":0.12,"last_synced_commit":"9414714d77f622e1b85f6a23743598df44f8086c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easystats%2Fworkflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easystats%2Fworkflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easystats%2Fworkflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easystats%2Fworkflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easystats","download_url":"https://codeload.github.com/easystats/workflows/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250869579,"owners_count":21500351,"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":["github-actions","r-package-automation","r-packages"],"created_at":"2024-11-11T07:46:38.870Z","updated_at":"2025-04-27T11:31:33.041Z","avatar_url":"https://github.com/easystats.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# `{easystats}`-workflows\n\nGitHub Actions for `{easystats}` packages. \n\nTo know more about how to build automation infrastructure to improve user experience and development workflow of R packages using these workflows, have a look at these slides:\n\n\u003chttps://indrajeetpatil.github.io/preventive-r-package-care/\u003e\n\n# Using workflows in your packages\n\n## Reusing workflows\n\nYou don't need to copy these workflows if you are happy as they are. In this case,\nyou can just reuse the workflow. \n\nFor example, if you wanted to use `check-spelling` workflow, your workflow \n(in the file `.github/workflows/check-spelling.yaml`) would look like so:\n\n\n```yaml\non:\n  push:\n    branches: [main, master]\n  pull_request:\n    branches: [main, master]\n\nname: check-spelling\n\njobs:\n  check-spelling:\n    uses: easystats/workflows/.github/workflows/check-spelling.yaml@main\n```\n\n## Copying workflows\n\nIf you wish to copy any of these workflows in your own pages, you can do so \nwithout asking for any permissions.\n\nJust keep in mind that you will need to change the following lines:\n\n```yaml\non:\n  workflow_call:\n  \n#name: test-coverage\n```\n\nto (e.g.)\n\n```yaml\non:\n  push:\n    branches: [main, master]\n  pull_request:\n    branches: [main, master]\n    \nname: test-coverage\n```\n\n## List of workflows\n\n### General-purpose workflows\n\n| Workflow                     | Purpose                                                                                  |\n| :--------------------------- | :--------------------------------------------------------------------------------------- |\n| R-CMD-check-hard.yaml        | Runs R CMD check with hard dependencies only (`Imports`)                                 |\n| R-CMD-check.yaml             | Runs standard R CMD check and fails if there are any `WARNING`s or `NOTE`s               |\n| test-coverage-examples.yaml  | Checks code coverage via examples in the manual and vignettes                            |\n| test-coverage.yaml           | Checks code coverage via tests                                                           |\n| check-random-test-order.yaml | Randomizes the order in which test files are run to check that tests are self-contained. |\n| check-all-examples.yaml      | Runs *all* examples and checks that they execute successfully and without warnings       |\n| check-link-rot.yaml          | Checks that there are no outdated links (using `{urlchecker}`)                           |\n| check-readme.yaml            | Checks that the README can be properly rendered                                          |\n| check-spelling.yaml          | Checks for spelling mistakes (using `{spelling}`)                                        |\n| check-styling.yaml           | Checks code formatting against style guide (using `{styler}`)                            |\n| check-test-warnings.yaml     | Checks for warnings in tests                                                             |\n| check-vignette-warnings.yaml | Checks for warnings in vignettes                                                         |\n| lint.yaml                    | Runs `{lintr}` on the whole package to check for code quality issues                     |\n| lint-changed-files.yaml      | Runs `{lintr}` on the files that were modified in a PR to check for code quality issues  |\n| html-5-check.yaml            | Checks that manual pages are valid HTML5                                                 |\n| pkgdown.yaml                 | Runs the `{pkgdown}` workflow to check that the documentation website can be built       |\n| pkgdown-no-suggests.yaml     | Checks that `{pkgdown}` works with hard dependencies only                                |\n\n### `easystats`-related workflows\n\n| Workflow                         | Purpose                                                                         |\n| :------------------------------- | :------------------------------------------------------------------------------ |\n| update-to-latest-easystats.yaml  | Creates a PR to bump all `easystats` dependencies to their latest CRAN version. |\n\n## Acknowledgments\n\nThese workflows are based on [r-lib/actions](https://github.com/r-lib/actions). Huge thanks to the creators, maintainers, and contributors to that repo!!\n\n## License ![CC0 licensed](https://img.shields.io/github/license/r-lib/actions)\n\nAll examples in this repository are published with the [CC0](./LICENSE) license.\n\n## Other resources\n\nFind more [CI/CD tools for R](https://indrajeetpatil.github.io/awesome-r-pkgtools/#cicd) at [awesome-r-pkgtools](https://github.com/IndrajeetPatil/awesome-r-pkgtools).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasystats%2Fworkflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasystats%2Fworkflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasystats%2Fworkflows/lists"}