Skip to content

Commit

Permalink
Merge branch 'main' into check_smooth
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke authored Sep 19, 2023
2 parents 26e6115 + d555b2a commit cd712ad
Show file tree
Hide file tree
Showing 277 changed files with 14,597 additions and 4,840 deletions.
7 changes: 6 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,21 @@

^\.travis.yml
^\_pkgdown.yml
^\_pkgdown.yaml
^paper.bib$

^data/.
^docs/.
^vignettes/.
^pkgdown/.
^WIP/.
^paper/.
^papers/.
^.github/.
^CODE_OF_CONDUCT\.md$
^revdep$
^tests/_snaps/.
^cran-comments\.md$
^\.github$
\.code-workspace$
\.lintr$
^CRAN-SUBMISSION$
29 changes: 29 additions & 0 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Getting help with `{performance}`

Thanks for using `{performance}`. Before filing an issue, there are a few places
to explore and pieces to put together to make the process as smooth as possible.

Start by making a minimal **repr**oducible **ex**ample using the
[reprex](http://reprex.tidyverse.org/) package. If you haven't heard of or used
reprex before, you're in for a treat! Seriously, reprex will make all of your
R-question-asking endeavors easier (which is a pretty insane ROI for the five to
ten minutes it'll take you to learn what it's all about). For additional reprex
pointers, check out the [Get help!](https://www.tidyverse.org/help/) resource
used by the tidyverse team.

Armed with your reprex, the next step is to figure out where to ask:

* If it's a question: start with StackOverflow. There are more people there to answer questions.
* If it's a bug: you're in the right place, file an issue.
* If you're not sure: let's [discuss](https://github.com/easystats/performance/discussions) it and try to figure it out! If your
problem _is_ a bug or a feature request, you can easily return here and
report it.

Before opening a new issue, be sure to [search issues and pull requests](https://github.com/easystats/performance/issues) to make sure the
bug hasn't been reported and/or already fixed in the development version. By
default, the search will be pre-populated with `is:issue is:open`. You can
[edit the qualifiers](https://help.github.com/articles/searching-issues-and-pull-requests/)
(e.g. `is:pr`, `is:closed`) as needed. For example, you'd simply
remove `is:open` to search _all_ issues in the repo, open or closed.

Thanks for your help!
8 changes: 8 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2

updates:
# Keep dependencies for GitHub Actions up-to-date
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
11 changes: 11 additions & 0 deletions .github/workflows/R-CMD-check-devel-easystats.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on:
schedule:
# * is a special character in YAML so you have to quote this string
# Trigger once a week at 00:00 on Sunday
- cron: "0 0 * * SUN"

name: R-CMD-check-devel-easystats

jobs:
R-CMD-check-devel-easystats:
uses: easystats/workflows/.github/workflows/R-CMD-check-devel-easystats.yaml@main
19 changes: 19 additions & 0 deletions .github/workflows/R-CMD-check-hard.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#
# NOTE: This workflow only directly installs "hard" dependencies, i.e. Depends,
# Imports, and LinkingTo dependencies. Notably, Suggests dependencies are never
# installed, with the exception of testthat, knitr, and rmarkdown. The cache is
# never used to avoid accidentally restoring a cache containing a suggested
# dependency.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check-hard

jobs:
R-CMD-check-hard:
uses: easystats/workflows/.github/workflows/R-CMD-check-hard.yaml@main
15 changes: 15 additions & 0 deletions .github/workflows/R-CMD-check-strict.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#
# R CMD Check will fail on a `NOTE`.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check-strict

jobs:
R-CMD-check-strict:
uses: easystats/workflows/.github/workflows/R-CMD-check-strict.yaml@main
17 changes: 17 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
#
# NOTE: This workflow is overkill for most R packages and
# check-standard.yaml is likely a better choice.
# usethis::use_github_action("check-standard") will install it.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check

jobs:
R-CMD-check:
uses: easystats/workflows/.github/workflows/R-CMD-check.yaml@main
57 changes: 0 additions & 57 deletions .github/workflows/R-check.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/check-all-examples.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Make sure all examples run successfully, even the ones that are not supposed
# to be run or tested on CRAN machines by default.
#
# The examples that fail should use
# - `if (FALSE) { ... }` (if example is included only for illustrative purposes)
# - `try({ ... })` (if the intent is to show the error)
#
# This workflow helps find such failing examples that need to be modified.
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-all-examples

jobs:
check-all-examples:
uses: easystats/workflows/.github/workflows/check-all-examples.yaml@main
11 changes: 11 additions & 0 deletions .github/workflows/check-link-rot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-link-rot

jobs:
check-link-rot:
uses: easystats/workflows/.github/workflows/check-link-rot.yaml@main
12 changes: 12 additions & 0 deletions .github/workflows/check-random-test-order.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Run tests in random order
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-random-test-order

jobs:
check-random-test-order:
uses: easystats/workflows/.github/workflows/check-random-test-order.yaml@main
14 changes: 14 additions & 0 deletions .github/workflows/check-readme.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help

on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-readme

jobs:
check-readme:
uses: easystats/workflows/.github/workflows/check-readme.yaml@main
11 changes: 11 additions & 0 deletions .github/workflows/check-spelling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-spelling

jobs:
check-spelling:
uses: easystats/workflows/.github/workflows/check-spelling.yaml@main
11 changes: 11 additions & 0 deletions .github/workflows/check-styling.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-styling

jobs:
check-styling:
uses: easystats/workflows/.github/workflows/check-styling.yaml@main
12 changes: 12 additions & 0 deletions .github/workflows/check-test-warnings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Running tests with options(warn = 2) to fail on test warnings
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-test-warnings

jobs:
check-test-warnings:
uses: easystats/workflows/.github/workflows/check-test-warnings.yaml@main
12 changes: 12 additions & 0 deletions .github/workflows/check-vignette-warnings.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Running tests with options(warn = 2) to fail on test warnings
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: check-vignette-warnings

jobs:
check-vignette-warnings:
uses: easystats/workflows/.github/workflows/check-vignette-warnings.yaml@main
13 changes: 13 additions & 0 deletions .github/workflows/html-5-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: HTML5 check

jobs:
HTML5-check:
uses: easystats/workflows/.github/workflows/html-5-check.yaml@main
11 changes: 11 additions & 0 deletions .github/workflows/lint-changed-files.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
pull_request:
branches: [main, master]

name: lint-changed-files

jobs:
lint-changed-files:
uses: easystats/workflows/.github/workflows/lint-changed-files.yaml@main
13 changes: 13 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: lint

jobs:
lint:
uses: easystats/workflows/.github/workflows/lint.yaml@main
11 changes: 11 additions & 0 deletions .github/workflows/pkgdown-no-suggests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: pkgdown-no-suggests

jobs:
pkgdown-no-suggests:
uses: easystats/workflows/.github/workflows/pkgdown-no-suggests.yaml@main
16 changes: 16 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:

name: pkgdown

jobs:
pkgdown:
uses: easystats/workflows/.github/workflows/pkgdown.yaml@main
Loading

0 comments on commit cd712ad

Please sign in to comment.