-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.R
23 lines (16 loc) · 649 Bytes
/
run.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env Rscript
# This is a helper script to run the pipeline.
# Choose how to execute the pipeline below.
# See https://books.ropensci.org/targets/hpc.html
# to learn about your options.
targets::tar_manifest()
targets::tar_visnetwork()
targets::tar_visnetwork(targets_only = TRUE)
targets::tar_make()
# targets::tar_crew() # parallel processing stats
# targets::tar_meta(fields = error, complete_only = TRUE) # debugging
targets::tar_load(grid_all)
mapview::mapview(grid_all, zcol="all_candidate")
mapview::mapview(grid_all, zcol="score") #ranked
targets::tar_load(site_selection)
mapview::mapview(site_selection, zcol="complexity")