Skip to content

Commit

Permalink
import terra
Browse files Browse the repository at this point in the history
  • Loading branch information
ramarty committed Apr 15, 2024
1 parent 2a25d2d commit a0463c0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: Geographically referenced data and statistics of nighttime lights f
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
RoxygenNote: 7.3.1
URL: https://worldbank.github.io/blackmarbler/
BugReports: https://github.com/worldbank/blackmarbler/issues
Imports:
Expand Down
4 changes: 2 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import(hdf5r)
import(httr)
import(lubridate)
import(purrr, except = c(flatten_df, values))
import(raster, except = c(union, select, intersect, origin, tail, head, values))

import(readr)
import(sf)
import(stringr)
import(terra, except = c(intersect, values, origin, union))

import(tidyr, except = c(extract))
2 changes: 1 addition & 1 deletion R/blackmarbler.R
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ bm_extract <- function(roi_sf,
#' @import lubridate
#' @rawNamespace import(tidyr, except = c(extract))
#' @rawNamespace import(purrr, except = c(flatten_df, values))
#' @rawNamespace import(raster, except = c(union, select, intersect, origin, tail, head, values))
#' @rawNamespace import(terra, except = c(intersect, values, origin, union))
#'
# @rawNamespace import(utils, except = c(stack, unstack))
bm_raster <- function(roi_sf,
Expand Down
4 changes: 1 addition & 3 deletions readme_figures/testing.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ e_202110 <- bm_raster(roi_sf = roi_sf,
e_202110 <- bm_extract(roi_sf = roi_sf,
product_id = "VNP46A3",
date = c("2021-10-01", "2021-11-01"),
bearer = bearer,
output_location_type = "file",
file_dir = "~/Desktop/test1")
bearer = bearer)


0 comments on commit a0463c0

Please sign in to comment.