Skip to content

Commit

Permalink
removed unnecessary dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nevrome committed Dec 19, 2023
1 parent 4f56c7a commit c088682
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,9 @@ Suggests:
ggridges,
globe,
knitr,
lwgeom,
mapview,
plyr,
readxl,
rgeos,
rmarkdown,
rnaturalearth,
rworldmap,
Expand Down
2 changes: 1 addition & 1 deletion R/c14_date_list_country_attribution.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ determine_country_by_coordinate.default <- function(x, suppress_spatial_warnings
#' @export
determine_country_by_coordinate.c14_date_list <- function(x, suppress_spatial_warnings = TRUE) {

check_if_packages_are_available(c("sf", "rworldxtra", "rgeos", "lwgeom"))
check_if_packages_are_available(c("sf", "rworldxtra"))
x %>% check_if_columns_are_present(c("lat", "lon"))

message(paste0("Determining country by coordinates... ", {if (nrow(x) > 10000) {"This may take several minutes."}}))
Expand Down

0 comments on commit c088682

Please sign in to comment.