Skip to content

Commit

Permalink
Merge pull request #12 from addelany/main
Browse files Browse the repository at this point in the history
update package imports
  • Loading branch information
rqthomas authored Oct 26, 2023
2 parents dd7facc + 36821dc commit cd5f882
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ Description: This package creates and transforms metadata for ecological forecas
License: MIT + file LICENSE
Encoding: UTF-8
Imports:
jsonlite
jsonlite,
dplyr,
duckdbfs,
glue,
purrr,
Rcurl,
readr
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Suggests:
Expand Down
2 changes: 1 addition & 1 deletion R/get_site_coords.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#'
get_site_coords <- function(site_metadata, sites){

site_df <- read_csv(site_metadata, col_types = cols())
site_df <- readr::read_csv(site_metadata, col_types = cols())

site_lat_lon <- lapply(sites, function(i) c(site_df$latitude[which(site_df[,2] == i)], site_df$longtitude[which(site_df[,2] == i)]))

Expand Down

0 comments on commit cd5f882

Please sign in to comment.