Upgrade to testthat 3rd edition #78
Annotations
3 errors and 11 warnings
|
pre-commit
Process completed with exit code 1.
|
|
pre-commit
tests/testthat/test-helpers.R:12:3: unexpected '}'
|
|
pre-commit
File tests/testthat/test-helpers.R is not lint free
|
|
pre-commit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, r-lib/actions/setup-r@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
pre-commit:
tests/testthat/test-helpers.R#L59
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=59,col=4,[indentation_linter] Indentation should be 0 spaces but is 4 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L58
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=58,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L49
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=49,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L37
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=37,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L32
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=32,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L27
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=27,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L24
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=24,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L16
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=16,col=2,[indentation_linter] Indentation should be 0 spaces but is 2 spaces.
|
|
pre-commit:
tests/testthat/test-helpers.R#L12
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=12,col=3,[error] unexpected '}'
|
|
pre-commit:
tests/testthat/test-helpers.R#L11
file=/home/runner/work/lightsnip/lightsnip/tests/testthat/test-helpers.R,line=11,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 86 characters.
|