diff --git a/DESCRIPTION b/DESCRIPTION index 0eae9b3..cafbc89 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -21,8 +21,13 @@ Depends: Imports: cli, dplyr, + glue, + lifecycle, + magrittr, rlang, - stringr + stringr, + tibble, + withr Suggests: distill, eurostat, @@ -42,8 +47,7 @@ Suggests: sf, terra, testthat, - tidyr, - withr + tidyr VignetteBuilder: knitr Config/testthat/edition: 3 diff --git a/NAMESPACE b/NAMESPACE index f9bcee2..61cc34a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -4,6 +4,41 @@ export(classify_nuts) export(convert_nuts_level) export(convert_nuts_version) import(cli) -import(dplyr) +import(magrittr) import(rlang) -import(stringr) +import(tibble) +importFrom(dplyr,all_of) +importFrom(dplyr,anti_join) +importFrom(dplyr,any_of) +importFrom(dplyr,arrange) +importFrom(dplyr,arrange_at) +importFrom(dplyr,bind_rows) +importFrom(dplyr,case_when) +importFrom(dplyr,cross_join) +importFrom(dplyr,desc) +importFrom(dplyr,distinct) +importFrom(dplyr,filter) +importFrom(dplyr,full_join) +importFrom(dplyr,group_by) +importFrom(dplyr,group_by_at) +importFrom(dplyr,if_any) +importFrom(dplyr,inner_join) +importFrom(dplyr,join_by) +importFrom(dplyr,left_join) +importFrom(dplyr,mutate) +importFrom(dplyr,mutate_at) +importFrom(dplyr,n) +importFrom(dplyr,n_distinct) +importFrom(dplyr,pull) +importFrom(dplyr,relocate) +importFrom(dplyr,rename) +importFrom(dplyr,right_join) +importFrom(dplyr,select) +importFrom(dplyr,slice) +importFrom(dplyr,summarize) +importFrom(dplyr,summarize_at) +importFrom(dplyr,ungroup) +importFrom(dplyr,vars) +importFrom(glue,glue) +importFrom(lifecycle,deprecated) +importFrom(stringr,str_detect) diff --git a/R/nuts-package.R b/R/nuts-package.R index 9cfbcb7..53ba75d 100644 --- a/R/nuts-package.R +++ b/R/nuts-package.R @@ -3,8 +3,45 @@ ## usethis namespace: start #' @import cli -#' @import dplyr +#' @import magrittr #' @import rlang -#' @import stringr +#' @import tibble +#' @importFrom dplyr anti_join +#' @importFrom dplyr arrange +#' @importFrom dplyr cross_join +#' @importFrom dplyr distinct +#' @importFrom dplyr filter +#' @importFrom dplyr full_join +#' @importFrom dplyr group_by +#' @importFrom dplyr group_by_at +#' @importFrom dplyr inner_join +#' @importFrom dplyr left_join +#' @importFrom dplyr right_join +#' @importFrom dplyr mutate +#' @importFrom dplyr mutate_at +#' @importFrom dplyr pull +#' @importFrom dplyr relocate +#' @importFrom dplyr rename +#' @importFrom dplyr select +#' @importFrom dplyr slice +#' @importFrom dplyr summarize +#' @importFrom dplyr summarise +#' @importFrom dplyr summarize_at +#' @importFrom dplyr summarise_at +#' @importFrom dplyr ungroup +#' @importFrom dplyr bind_rows +#' @importFrom dplyr n_distinct +#' @importFrom dplyr vars +#' @importFrom dplyr any_of +#' @importFrom dplyr all_of +#' @importFrom dplyr if_any +#' @importFrom dplyr n +#' @importFrom dplyr case_when +#' @importFrom dplyr join_by +#' @importFrom dplyr desc +#' @importFrom dplyr arrange_at +#' @importFrom glue glue +#' @importFrom lifecycle deprecated +#' @importFrom stringr str_detect ## usethis namespace: end NULL diff --git a/man/figures/lifecycle-archived.svg b/man/figures/lifecycle-archived.svg new file mode 100644 index 0000000..48f72a6 --- /dev/null +++ b/man/figures/lifecycle-archived.svg @@ -0,0 +1 @@ + lifecyclelifecyclearchivedarchived \ No newline at end of file diff --git a/man/figures/lifecycle-defunct.svg b/man/figures/lifecycle-defunct.svg new file mode 100644 index 0000000..01452e5 --- /dev/null +++ b/man/figures/lifecycle-defunct.svg @@ -0,0 +1 @@ +lifecyclelifecycledefunctdefunct \ No newline at end of file diff --git a/man/figures/lifecycle-deprecated.svg b/man/figures/lifecycle-deprecated.svg new file mode 100644 index 0000000..4baaee0 --- /dev/null +++ b/man/figures/lifecycle-deprecated.svg @@ -0,0 +1 @@ +lifecyclelifecycledeprecateddeprecated \ No newline at end of file diff --git a/man/figures/lifecycle-experimental.svg b/man/figures/lifecycle-experimental.svg new file mode 100644 index 0000000..d1d060e --- /dev/null +++ b/man/figures/lifecycle-experimental.svg @@ -0,0 +1 @@ +lifecyclelifecycleexperimentalexperimental \ No newline at end of file diff --git a/man/figures/lifecycle-maturing.svg b/man/figures/lifecycle-maturing.svg new file mode 100644 index 0000000..df71310 --- /dev/null +++ b/man/figures/lifecycle-maturing.svg @@ -0,0 +1 @@ +lifecyclelifecyclematuringmaturing \ No newline at end of file diff --git a/man/figures/lifecycle-questioning.svg b/man/figures/lifecycle-questioning.svg new file mode 100644 index 0000000..08ee0c9 --- /dev/null +++ b/man/figures/lifecycle-questioning.svg @@ -0,0 +1 @@ +lifecyclelifecyclequestioningquestioning \ No newline at end of file diff --git a/man/figures/lifecycle-stable.svg b/man/figures/lifecycle-stable.svg new file mode 100644 index 0000000..e015dc8 --- /dev/null +++ b/man/figures/lifecycle-stable.svg @@ -0,0 +1 @@ +lifecyclelifecyclestablestable \ No newline at end of file diff --git a/man/figures/lifecycle-superseded.svg b/man/figures/lifecycle-superseded.svg new file mode 100644 index 0000000..75f24f5 --- /dev/null +++ b/man/figures/lifecycle-superseded.svg @@ -0,0 +1 @@ + lifecyclelifecyclesupersededsuperseded \ No newline at end of file