Skip to content

Commit f24e4fa

Browse files
Use delayedAssign to force load (fixes #63) (#70)
1 parent d87cd4b commit f24e4fa

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

R/sysdata.rda

420 KB
Binary file not shown.

data-raw/boston_canopy.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ names(heat) <- names(heat_metrics)
7171
boston_canopy <- sf::st_join(boston_canopy, heat, sf::st_within, left = FALSE)
7272
boston_canopy <- dplyr::relocate(boston_canopy, geometry, .after = everything())
7373

74-
usethis::use_data(boston_canopy, overwrite = TRUE)
74+
usethis::use_data(boston_canopy, overwrite = TRUE, internal = TRUE)
7575
unlink(working_dir, TRUE)

data/boston_canopy.R

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
delayedAssign("boston_canopy", local({
2+
requireNamespace("sf", quietly = TRUE)
3+
spatialsample:::boston_canopy
4+
}))

data/boston_canopy.rda

-420 KB
Binary file not shown.

0 commit comments

Comments
 (0)