diff --git a/DESCRIPTION b/DESCRIPTION index 7276d698..bbe806ac 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -18,11 +18,8 @@ Depends: R (>= 3.6.0) Imports: cli, - glue, - lifecycle, methods, - rlang (>= 1.1.0), - withr + rlang (>= 1.1.0) Suggests: covr, curl, diff --git a/NAMESPACE b/NAMESPACE index ac692aa7..472fe4f4 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -213,7 +213,5 @@ exportClasses(xml_missing) exportClasses(xml_node) exportClasses(xml_nodeset) import(rlang) -importFrom(glue,glue) -importFrom(lifecycle,deprecated) importFrom(methods,setOldClass) useDynLib(xml2, .registration = TRUE) diff --git a/NEWS.md b/NEWS.md index 653be6c4..e59f61c5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # xml2 (development version) +* Remove unused dependencies on glue, withr and lifecycle (@mgirlich). + # xml2 1.3.5 * Small speedup for `xml_find_all()` (@mgirlich, #393). diff --git a/R/xml2-package.R b/R/xml2-package.R index 97c07e14..d248733b 100644 --- a/R/xml2-package.R +++ b/R/xml2-package.R @@ -3,7 +3,5 @@ ## usethis namespace: start #' @import rlang -#' @importFrom glue glue -#' @importFrom lifecycle deprecated ## usethis namespace: end NULL