Skip to content

Commit

Permalink
skip on oldrel
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 12, 2024
1 parent bd4d134 commit f239837
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/lint-changed-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ jobs:
undesirable_function_linter = NULL,
undesirable_operator_linter = NULL,
unnecessary_concatenation_linter(allow_single_expression = FALSE),
unused_import_linter = NULL,
defaults = linters_with_tags(tags = NULL)
unused_import_linter = NULL
), exclusions = exclusions_list)
shell: Rscript {0}
env:
Expand Down
1 change: 1 addition & 0 deletions tests/testthat/test-meta-random-bayes.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ test_that(
desc = "meta_analysis works - bayesian",
code = {
skip_if_not_installed("metaBMA")
skip_if_not(getRversion() >= "4.4.0")

set.seed(123)
df <- meta_analysis(
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-one-two-sample-dataframes.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
test_that(
desc = " parametric t-tests",
code = {
skip_if_not(getRversion() >= "4.4.0")

# one-sample t-test (with NAs) ---------

set.seed(123)
Expand Down
7 changes: 2 additions & 5 deletions tests/testthat/test-oneway-anova-bayes.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
# don't test data frames because the values vary across platforms, even with the
# same seed
#
# for the same reason, don't change number of digits

# to print all tibble columns in the snapshot; don't remove
# same seed; for the same reason, don't change number of digits

skip_if_not(getRversion() >= "4.4.0")

# between-subjects ------------------------------

Expand Down

0 comments on commit f239837

Please sign in to comment.