Prepare CRAN submission #290
lint-changed-files.yaml
on: pull_request
lint-changed-files
/
lint-changed-files
2m 2s
Annotations
1 error and 10 warnings
lint-changed-files / lint-changed-files
Process completed with exit code 31.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L20
file=tests/testthat/test-bayesfactor_models.R,line=20,col=3,[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-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L21
file=tests/testthat/test-bayesfactor_models.R,line=21,col=3,[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-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L22
file=tests/testthat/test-bayesfactor_models.R,line=22,col=3,[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-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L108
file=tests/testthat/test-bayesfactor_models.R,line=108,col=7,[implicit_assignment_linter] Avoid implicit assignments in function calls. For example, instead of `if (x <- 1L) { ... }`, write `x <- 1L; if (x) { ... }`.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L112
file=tests/testthat/test-bayesfactor_models.R,line=112,col=3,[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-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L112
file=tests/testthat/test-bayesfactor_models.R,line=112,col=3,[expect_length_linter] expect_length(x, n) is better than expect_equal(length(x), n)
|
lint-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L146
file=tests/testthat/test-bayesfactor_models.R,line=146,col=7,[implicit_assignment_linter] Avoid implicit assignments in function calls. For example, instead of `if (x <- 1L) { ... }`, write `x <- 1L; if (x) { ... }`.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L166
file=tests/testthat/test-bayesfactor_models.R,line=166,col=35,[implicit_assignment_linter] Avoid implicit assignments in function calls. For example, instead of `if (x <- 1L) { ... }`, write `x <- 1L; if (x) { ... }`.
|
lint-changed-files / lint-changed-files:
tests/testthat/test-bayesfactor_models.R#L180
file=tests/testthat/test-bayesfactor_models.R,line=180,col=3,[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-changed-files / lint-changed-files:
tests/testthat/test-brms.R#L13
file=tests/testthat/test-brms.R,line=13,col=3,[expect_s3_class_linter] expect_s3_class(x, k) is better than expect_true(is.<k>(x)) or expect_true(inherits(x, k)). Note also expect_s4_class() available for testing S4 objects.
|