Skip to content

Commit

Permalink
import functions instead of whole package
Browse files Browse the repository at this point in the history
  • Loading branch information
AAoritz committed Feb 6, 2024
1 parent 23a5429 commit d2744d9
Show file tree
Hide file tree
Showing 11 changed files with 91 additions and 7 deletions.
10 changes: 7 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,13 @@ Depends:
Imports:
cli,
dplyr,
glue,
lifecycle,
magrittr,
rlang,
stringr
stringr,
tibble,
withr
Suggests:
distill,
eurostat,
Expand All @@ -42,8 +47,7 @@ Suggests:
sf,
terra,
testthat,
tidyr,
withr
tidyr
VignetteBuilder:
knitr
Config/testthat/edition: 3
Expand Down
39 changes: 37 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -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)
41 changes: 39 additions & 2 deletions R/nuts-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions man/figures/lifecycle-archived.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-defunct.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-deprecated.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-experimental.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-maturing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-questioning.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-stable.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions man/figures/lifecycle-superseded.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d2744d9

Please sign in to comment.