Update GHA version nb #7
Annotations
1 error and 5 warnings
|
lint
Process completed with exit code 31.
|
|
lint:
tests/testthat/test-fractionalairline.R#L16
file=tests/testthat/test-fractionalairline.R,line=16,col=5,[yoda_test_linter] Compare objects in tests in the order 'actual', 'expected', not the reverse. For example, do expect_equal(foo(x), 2L) instead of expect_equal(2L, foo(x)).
|
|
lint:
tests/testthat/test-fractionalairline.R#L16
file=tests/testthat/test-fractionalairline.R,line=16,col=5,[expect_length_linter] expect_length(x, n) is better than expect_equal(length(x), n)
|
|
lint:
tests/testthat/test-fractionalairline.R#L16
file=tests/testthat/test-fractionalairline.R,line=16,col=5,[expect_identical_linter] Use expect_identical(x, y) by default; resort to expect_equal() only when needed, e.g. when setting ignore_attr= or tolerance=.
|
|
lint:
tests/testthat/test-fractionalairline.R#L10
file=tests/testthat/test-fractionalairline.R,line=10,col=5,[yoda_test_linter] Compare objects in tests in the order 'actual', 'expected', not the reverse. For example, do expect_equal(foo(x), 2L) instead of expect_equal(2L, foo(x)).
|
|
lint:
tests/testthat/test-fractionalairline.R#L10
file=tests/testthat/test-fractionalairline.R,line=10,col=5,[expect_identical_linter] Use expect_identical(x, y) by default; resort to expect_equal() only when needed, e.g. when setting ignore_attr= or tolerance=.
|