Skip to content

Commit

Permalink
function name change
Browse files Browse the repository at this point in the history
- By introducing three modes, the main function name is revised
    - distribute_process to distribute_process_grid
  • Loading branch information
Insang Song committed Oct 31, 2023
1 parent 9e25d21 commit 5402b1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scomps_rmarkdown_litr.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ testthat::test_that("Processes are properly spawned and compute", {
nccompreg <- get_computational_regions(input = ncpoly, mode = 'grid', nx=6L, ny=4L, padding=3e4L)
# future::plan(multicore, workers = 4)
res <- suppressWarnings(distribute_process(grids = nccompreg, grid_target_id = NULL,
res <- suppressWarnings(distribute_process_grid(grids = nccompreg, grid_target_id = NULL,
fun = extract_with_buffer, points = ncpnts, qsegs = 90L, surf = ncelev, radius = 5e3L, id = "pid")
)
testthat::expect_s4_class(nccompreg, "SpatVector")
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ testthat::test_that("Processes are properly spawned and compute", {

nccompreg <- get_computational_regions(input = ncpoly, mode = 'grid', nx=6L, ny=4L, padding=3e4L)
# future::plan(multicore, workers = 4)
res <- suppressWarnings(distribute_process(grids = nccompreg, grid_target_id = NULL,
res <- suppressWarnings(distribute_process_grid(grids = nccompreg, grid_target_id = NULL,
fun = extract_with_buffer, points = ncpnts, qsegs = 90L, surf = ncelev, radius = 5e3L, id = "pid")
)
testthat::expect_s4_class(nccompreg, "SpatVector")
Expand Down
Binary file modified tools/tarballs/scomps_0.0.4.11012023.tar.gz
Binary file not shown.

0 comments on commit 5402b1b

Please sign in to comment.