Skip to content

Commit cbe289b

Browse files
committed
Remove dangling dependencies
Closes #92
1 parent 9cc55f6 commit cbe289b

File tree

4 files changed

+3
-21
lines changed

4 files changed

+3
-21
lines changed

DESCRIPTION

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,26 +24,19 @@ ByteCompile: true
2424
Depends:
2525
R (>= 3.2.0)
2626
Imports:
27-
devtools,
2827
diffobj,
2928
glue,
3029
grDevices,
3130
htmltools,
3231
lifecycle,
33-
purrr (>= 0.2.0),
3432
rlang,
35-
R6,
36-
testthat (>= 1.0.0),
37-
usethis (>= 1.4.0),
33+
testthat (>= 3.0.0),
3834
xml2 (>= 1.0.0)
3935
Suggests:
4036
covr,
41-
crayon,
4237
ggplot2 (>= 3.2.0),
4338
roxygen2,
44-
rstudioapi,
45-
withr,
46-
yaml
39+
withr
4740
LinkingTo:
4841
cpp11
4942
RoxygenNote: 7.1.1.9001

NAMESPACE

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
export(expect_doppelganger)
44
export(write_svg)
55
import(rlang)
6-
importFrom(R6,R6Class)
76
importFrom(glue,glue)
87
importFrom(lifecycle,deprecated)
9-
importFrom(purrr,compact)
10-
importFrom(purrr,every)
11-
importFrom(purrr,keep)
12-
importFrom(purrr,map)
13-
importFrom(purrr,map2_chr)
14-
importFrom(purrr,map_chr)
15-
importFrom(purrr,partial)
16-
importFrom(purrr,walk)
178
useDynLib(vdiffr, .registration = TRUE)

R/vdiffr-package.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#' @import rlang
22
#' @importFrom glue glue
3-
#' @importFrom purrr map map_chr keep walk every partial map2_chr compact
4-
#' @importFrom R6 R6Class
53
#' @useDynLib vdiffr, .registration = TRUE
64
#' @keywords internal
75
"_PACKAGE"

tests/testthat/test-log.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ test_that("Failures are logged", {
2424
log <- readLines(log_path)
2525

2626
results <- reporter$expectations()
27-
n_expected <- sum(purrr::map_lgl(results, inherits, "expectation_failure"))
27+
n_expected <- sum(vapply(results, inherits, NA, "expectation_failure"))
2828

2929
n_logged <- length(grep("Failed doppelganger:", log))
3030
expect_equal(n_logged, n_expected)

0 commit comments

Comments
 (0)