diff --git a/tests/testdata/dt.RDS b/tests/testdata/dt.RDS new file mode 100644 index 0000000..8d2838f Binary files /dev/null and b/tests/testdata/dt.RDS differ diff --git a/tests/testthat/test_expost_rang.R b/tests/testthat/test_expost_rang.R index 2d33006..3b84396 100644 --- a/tests/testthat/test_expost_rang.R +++ b/tests/testthat/test_expost_rang.R @@ -185,3 +185,8 @@ test_that("Super ancient special packages", { graph <- readRDS("../testdata/superancientsna.RDS") expect_error(.generate_installation_order(graph), NA) }) + +test_that("base as a dependency, issue 144", { + graph <- readRDS("../testdata/dt.RDS") + expect_error(.generate_installation_order(graph), NA) +})