Skip to content

Commit

Permalink
Update: r-lib/actions/setup-r@v1 is deprecated. updated to 'v2' version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianGoueguel committed Apr 25, 2024
1 parent 7142769 commit 1c507c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion R/ellipseParam.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ ellipseParam <- function(data, k = 2, pcx = 1, pcy = 2) {
stop("pcx and pcy must be non-zero.")
}
if (!is.numeric(k) || k < 2 || k != floor(k)) {
stop("k must be a positive integer >= 2.")
stop("k must be at least equal to 2.")
}
if (k > ncol(data)) {
stop("k exceeds the number of columns in the data.")
Expand Down

0 comments on commit 1c507c1

Please sign in to comment.