Skip to content

Commit 015737d

Browse files
committed
change MultiAssayExperiment to lifecycle package in tests
1 parent a6b2627 commit 015737d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/testthat/test-qenv_get_code.R

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ testthat::test_that("library() and require() are always returned", {
679679
code <- c(
680680
"set.seed(1)",
681681
"require(dplyr)",
682-
"library(MultiAssayExperiment)",
682+
"library(lifecycle)",
683683
"x <- 5",
684684
"y <- 6"
685685
)
@@ -688,7 +688,7 @@ testthat::test_that("library() and require() are always returned", {
688688
get_code(q, names = "x"),
689689
paste(
690690
"require(dplyr)",
691-
"library(MultiAssayExperiment)",
691+
"library(lifecycle)",
692692
"x <- 5",
693693
sep = "\n"
694694
)
@@ -702,7 +702,7 @@ testthat::test_that("data() call is returned when data name is provided as is",
702702
code <- c(
703703
"set.seed(1)",
704704
"require(dplyr)",
705-
"library(MultiAssayExperiment)",
705+
"library(lifecycle)",
706706
"data(miniACC, envir = environment())",
707707
"x <- miniACC"
708708
)
@@ -711,7 +711,7 @@ testthat::test_that("data() call is returned when data name is provided as is",
711711
get_code(q, names = "x"),
712712
paste(
713713
"require(dplyr)",
714-
"library(MultiAssayExperiment)",
714+
"library(lifecycle)",
715715
"data(miniACC, envir = environment())",
716716
"x <- miniACC",
717717
sep = "\n"
@@ -723,7 +723,7 @@ testthat::test_that("data() call is returned when data name is provided as a cha
723723
code <- c(
724724
"set.seed(1)",
725725
"require(dplyr)",
726-
"library(MultiAssayExperiment)",
726+
"library(lifecycle)",
727727
"data('mtcars')",
728728
"z <- mtcars"
729729
)
@@ -732,7 +732,7 @@ testthat::test_that("data() call is returned when data name is provided as a cha
732732
get_code(q, names = "z"),
733733
paste(
734734
"require(dplyr)",
735-
"library(MultiAssayExperiment)",
735+
"library(lifecycle)",
736736
"data(\"mtcars\")",
737737
"z <- mtcars",
738738
sep = "\n"

0 commit comments

Comments
 (0)