Skip to content

Commit 2b2d16c

Browse files
committed
remove library(random.cdisc.data) from tests
1 parent d278046 commit 2b2d16c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/testthat/test-qenv_get_code.R

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ testthat::test_that("understands @ usage and do not treat rhs of @ as objects (o
678678
testthat::test_that("library() and require() are always returned", {
679679
code <- c(
680680
"set.seed(1)",
681-
"library(random.cdisc.data)",
682681
"require(dplyr)",
683682
"library(MultiAssayExperiment)",
684683
"x <- 5",
@@ -688,7 +687,6 @@ testthat::test_that("library() and require() are always returned", {
688687
testthat::expect_identical(
689688
get_code(q, names = "x"),
690689
paste(
691-
"library(random.cdisc.data)",
692690
"require(dplyr)",
693691
"library(MultiAssayExperiment)",
694692
"x <- 5",
@@ -703,7 +701,6 @@ testthat::test_that("library() and require() are always returned", {
703701
testthat::test_that("data() call is returned when data name is provided as is", {
704702
code <- c(
705703
"set.seed(1)",
706-
"library(random.cdisc.data)",
707704
"require(dplyr)",
708705
"library(MultiAssayExperiment)",
709706
"data(miniACC, envir = environment())",
@@ -713,7 +710,6 @@ testthat::test_that("data() call is returned when data name is provided as is",
713710
testthat::expect_identical(
714711
get_code(q, names = "x"),
715712
paste(
716-
"library(random.cdisc.data)",
717713
"require(dplyr)",
718714
"library(MultiAssayExperiment)",
719715
"data(miniACC, envir = environment())",
@@ -726,7 +722,6 @@ testthat::test_that("data() call is returned when data name is provided as is",
726722
testthat::test_that("data() call is returned when data name is provided as a character", {
727723
code <- c(
728724
"set.seed(1)",
729-
"library(random.cdisc.data)",
730725
"require(dplyr)",
731726
"library(MultiAssayExperiment)",
732727
"data('mtcars')",
@@ -736,7 +731,6 @@ testthat::test_that("data() call is returned when data name is provided as a cha
736731
testthat::expect_identical(
737732
get_code(q, names = "z"),
738733
paste(
739-
"library(random.cdisc.data)",
740734
"require(dplyr)",
741735
"library(MultiAssayExperiment)",
742736
"data(\"mtcars\")",

0 commit comments

Comments
 (0)