Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
- versioning
- summarize_aw example fix
  • Loading branch information
Insang Song committed Feb 22, 2024
1 parent 58d81a1 commit cfc27fa
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
Package: chopin
Title: CHOPIN: Computation for Climate and Health research On Parallelized
INfrastructure
Version: 0.3.1.20240222
Title: CHOPIN: Computation for Climate and Health research On Parallelized INfrastructure
Version: 0.4.0.20240222
Authors@R: c(
person("Insang", "Song", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-8732-3256")),
Expand Down Expand Up @@ -50,4 +49,4 @@ Suggests:
VignetteBuilder: knitr
Config/testthat/edition: 3
LitrVersionUsed: 0.9.0
LitrId: 4ed07b0d423d2783ef09f322b21835c9
LitrId: 8de85267530c386fcc1fe35da7c3d662
2 changes: 1 addition & 1 deletion R/processing.R
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ The result may not be accurate.\n",
#' sf::st_crs(pp) <- "EPSG:5070"
#' ppb <- sf::st_buffer(pp, nQuadSegs=180, dist = units::set_units(20, "km"))
#'
#' system.time(ppb_nc_aw <- summarize_aw(ppb, nc, "id"))
#' system.time(ppb_nc_aw <- summarize_aw(ppb, nc, c("BIR74", "BIR79"), "id"))
#' summary(ppb_nc_aw)
#' #### Example of summarize_aw ends ####
#' @importFrom terra expanse
Expand Down
5 changes: 3 additions & 2 deletions chopin_rmarkdown_litr.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ usethis::create_package(
path = ".",
fields = list(
Package = params$package_name,
Version = "0.3.1.20240222",
Version = "0.4.0.20240222",
Title = "CHOPIN: Computation for Climate and Health research On Parallelized INfrastructure",
Description = "It enables users with basic understanding on geospatial data and sf and terra functions to parallelize geospatial operations for geospatial exposure assessment modeling and covariate computation. Parallelization is done by dividing large datasets into sub-regions with regular grids and data's own hierarchy. A computation over the large number of raster files can be parallelized with a chopin function as well.",
`Authors@R` = c(
Expand Down Expand Up @@ -2711,7 +2711,7 @@ testthat::test_that("SEDC are well calculated.", {
#' sf::st_crs(pp) <- "EPSG:5070"
#' ppb <- sf::st_buffer(pp, nQuadSegs=180, dist = units::set_units(20, "km"))
#'
#' system.time(ppb_nc_aw <- summarize_aw(ppb, nc, "id"))
#' system.time(ppb_nc_aw <- summarize_aw(ppb, nc, c("BIR74", "BIR79"), "id"))
#' summary(ppb_nc_aw)
#' #### Example of summarize_aw ends ####
#' @importFrom terra expanse
Expand Down Expand Up @@ -4058,6 +4058,7 @@ knitr::knit("./README.Rmd", "./README.md")
system(paste0("cp -r ./chopin/* ."))
# Sys.sleep(1)
system("rm -r ./chopin")
system("rm ./chopin_rmarkdown_litr.html")
# knit manually
# knitr::knit("./README.Rmd", "./README.md")
Expand Down
2 changes: 1 addition & 1 deletion man/summarize_aw.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cfc27fa

Please sign in to comment.