Skip to content

Commit

Permalink
add tibble pkg to Suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
lgessl committed Nov 20, 2023
1 parent 5e91723 commit 4906c35
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Suggests:
testthat (>= 3.0.0)
testthat (>= 3.0.0),
tibble (>= 3.0.0)
Config/testthat/edition: 3
4 changes: 2 additions & 2 deletions tests/testthat/test-generate_xy.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
test_that("generate_predictor works", {

expr_df <- matrix(1:12, nrow = 4)
pheno_df <- data.frame(
pheno_df <- tibble::tibble(
continuous_var = c(1, 2, 3),
discrete_var = c("A", "B", "A")
)
Expand All @@ -25,7 +25,7 @@ test_that("generate_predictor works", {
# Define test cases
test_that("generate_response works", {
# Create a sample pheno_tbl
pheno_tbl <- data.frame(
pheno_tbl <- tibble::tibble(
pfs_yrs = c(1.5, 2.5, 3.0, 4.0),
progression = c(0, 1, 0, 0),
use_column = c("A", "B", "C", "D")
Expand Down

0 comments on commit 4906c35

Please sign in to comment.