Skip to content

Commit

Permalink
autoimport
Browse files Browse the repository at this point in the history
  • Loading branch information
DanChaltiel committed Nov 11, 2024
1 parent a0c899a commit 5370852
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions R/ai_parse.R
Original file line number Diff line number Diff line change
Expand Up @@ -262,10 +262,8 @@ get_function_source = function(fun, pkg, ns, pkg_name){

#' used in [autoimport_parse()]
#' @importFrom cli cli_h2 cli_warn format_inline
#' @importFrom dplyr as_tibble bind_rows filter n_distinct pull select summarise
#' @importFrom purrr map
#' @importFrom dplyr filter pull summarise transmute
#' @importFrom rlang set_names
#' @importFrom stringr str_remove
#' @noRd
#' @keywords internal
warn_not_found = function(data_imports, verbose){
Expand All @@ -290,6 +288,10 @@ warn_not_found = function(data_imports, verbose){
}


#' @importFrom cli cli_h2 cli_warn
#' @importFrom dplyr distinct filter transmute
#' @importFrom glue glue
#' @importFrom rlang set_names
warn_not_in_desc = function(data_imports, verbose){
apply_basename = getOption("autoimport_warnings_files_basename", FALSE)
not_in_desc = data_imports %>%
Expand All @@ -308,4 +310,3 @@ warn_not_in_desc = function(data_imports, verbose){
}
invisible(TRUE)
}

2 changes: 1 addition & 1 deletion man/autoimport.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5370852

Please sign in to comment.