Skip to content

Commit

Permalink
Move testing skip to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
delosh653 committed Sep 15, 2023
1 parent e2d223e commit 94d1caa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
library(testthat)
library(growthcleanr)

testthat::skip_on_cran()

test_check("growthcleanr")
2 changes: 2 additions & 0 deletions tests/testthat/test-cdc.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
testthat::skip_on_cran()

test_that("ext_bmiz produces comparable output to CDC SAS implementation", {
# run ext_bmiz on input data
mydatapath <-
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-cleangrowth.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
testthat::skip_on_cran()

test_that("growthcleanr works as expected on pediatric synthetic data", {

# Run cleangrowth() on syngrowth data
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-utils.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
testthat::skip_on_cran()

test_that("splitinput splits files correctly with default values", {
create_df <- function(num_ids, num_obs) {
df <- data.frame(matrix(NA, nrow = num_ids * num_obs, ncol = 5))
Expand Down

0 comments on commit 94d1caa

Please sign in to comment.