Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.0.2 rev and workflow integration #15

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rds$
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,16 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
working-directory: "./scomps"
extra-packages: |
any::tictoc
any::units
any::rcmdcheck
any::knitr
any::rmarkdown
needs: check

- uses: r-lib/actions/check-r-package@v2
with:
working-directory: "./scomps"
upload-snapshots: true
62 changes: 0 additions & 62 deletions .github/workflows/codecov.yaml

This file was deleted.

14 changes: 10 additions & 4 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,18 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::covr
working-directory: "./scomps"
extra-packages: |
any::tictoc
any::units
any::knitr
any::rmarkdown
needs: coverage

- name: Test coverage
run: |
covr::codecov(
path = "./scomps",
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
Expand All @@ -50,6 +56,6 @@ jobs:
name: coverage-test-failures
path: ${{ runner.temp }}/package

- name: Upload coverage to Codecov # Add this step
run: |
Rscript -e "covr::codecov(token = Sys.getenv('CODECOV_TOKEN'))"
# - name: Upload coverage to Codecov # Add this step
# run: |
# Rscript -e "covr::codecov(path = "scomps", token = Sys.getenv('CODECOV_TOKEN'))"
1 change: 1 addition & 0 deletions scomps/.Rbuildignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
rds$
^LICENSE\.md$
18 changes: 12 additions & 6 deletions scomps/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,29 +1,35 @@
Package: scomps
Title: Scalable R geospatial computation
Version: 0.0.2.09192023
Version: 0.0.3.10042023
Authors@R:
person("Insang", "Song", , "geoissong@gmail.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-8732-3256"))
Description: A package for scalable geospatial computation for
environmental health research
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
License: MIT + file LICENSE
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
Imports:
covr,
dplyr,
future,
future.apply,
methods,
rlang,
sf,
terra
stars,
terra,
testthat,
units
Suggests:
future.batchtools,
igraph,
knitr,
logr,
rmarkdown
rmarkdown,
withr
VignetteBuilder: knitr
Config/testthat/edition: 3
LitrVersionUsed: 0.9.0
LitrId: b4b4b1780f36a343cb1320d63dc814b9
LitrId: b724f15aefeda747a5a888516d5c7129
2 changes: 2 additions & 0 deletions scomps/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2023
COPYRIGHT HOLDER: I. Song
21 changes: 21 additions & 0 deletions scomps/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MIT License

Copyright (c) 2023 I. Song

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
3 changes: 1 addition & 2 deletions scomps/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ export(clip_as_extent_ras)
export(clip_as_extent_ras2)
export(distribute_process)
export(estimate_demands)
export(extent_to_polygon)
export(extract_with)
export(extract_with_buffer)
export(extract_with_buffer.flat)
export(extract_with_buffer.kernel)
export(extract_with_polygons)
export(get_computational_regions)
export(grid_merge)
Expand Down
68 changes: 0 additions & 68 deletions scomps/R/aw_covariates.R

This file was deleted.

48 changes: 0 additions & 48 deletions scomps/R/calculate_sedc.R

This file was deleted.

Loading