Skip to content

Commit

Permalink
add packagename to warning string
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Apr 19, 2024
1 parent 7cb0f9a commit 443446c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/get_package_info.R
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ get_individual_package_info <- function(packagename) {
"{installed_path}"
)
log_warn("Using installation first on the search path.")
warning("Multiple installations of package found.")
warning("Multiple installations of package:", packagename, "found.")
}
lib_index <- min(which(.libPaths() == installed_path)) #nolint: undesirable_function_linter
lib <- .libPaths()[lib_index] #nolint: undesirable_function_linter
Expand Down

0 comments on commit 443446c

Please sign in to comment.