Skip to content

Commit

Permalink
Merge pull request #145 from chainsawriot/fix144
Browse files Browse the repository at this point in the history
Fix #144
  • Loading branch information
chainsawriot authored Jun 14, 2023
2 parents faa1867 + d28b527 commit cfc0d25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/resolve.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@
dep_df$y != "R" & !(dep_df$y %in%
c("datasets", "utils", "grDevices", "graphics", "stats", "methods", "tools",
"grid", "splines", "parallel", "stats4", "tcltk", "MASS", "nnet", "class", "spatial",
"eda", "lqs", "mle", "modreg", "mva", "stepfun", "ts")),]
"eda", "lqs", "mle", "modreg", "mva", "stepfun", "ts", "base")),]
if (nrow(res) == 0) {
return(NULL)
}
Expand Down
Binary file added tests/testdata/dt.RDS
Binary file not shown.
5 changes: 5 additions & 0 deletions tests/testthat/test_expost_rang.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

0 comments on commit cfc0d25

Please sign in to comment.