Skip to content

Commit

Permalink
Merge pull request #11 from bluegreen-labs/patch-hwsd-v2
Browse files Browse the repository at this point in the history
Patch hwsd v2
  • Loading branch information
khufkens authored Sep 16, 2023
2 parents e503d61 + fc7cae3 commit b037e22
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 8 deletions.
29 changes: 26 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
.Rproj.user
# History files
.Rhistory
.Rapp.history

# Session Data files
.RData
.Ruserdata
inst/doc

# Example code in package build process
*-Ex.R

# RStudio files
.Rproj.user/

# produced vignettes
vignettes/*.html
vignettes/*.pdf

# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
.httr-oauth
.Rproj.user

# ignore docs
docs/

# cran submission
CRAN-SUBMISSION

# raw data
data-raw/
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- removing {raster} dependencies for {terra}
- adding support for HWSD v2.0 (experimental but functionally complete)
- fix citation style

# hwsdr 1.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# hwsdr

[![R-CMD-check](https://github.com/bluegreen-labs/hwsdr/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/bluegreen-labs/hwsdr/actions/workflows/R-CMD-check.yaml)
[![codecov](https://codecov.io/gh/bluegreen-labs/hwsdr/branch/main/graph/badge.svg?token=GQ2TENDJP6)](https://codecov.io/gh/bluegreen-labs/hwsdr)
[![codecov](https://codecov.io/gh/bluegreen-labs/hwsdr/branch/main/graph/badge.svg?token=GQ2TENDJP6)](https://app.codecov.io/gh/bluegreen-labs/hwsdr)
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/hwsdr)](https://cran.r-project.org/package=hwsdr)
[![downloads](https://cranlogs.r-pkg.org/badges/grand-total/hwsdr)](https://cranlogs.r-pkg.org/badges/grand-total/hwsdr)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.6527648.svg)](https://doi.org/10.5281/zenodo.6527648)
Expand Down
15 changes: 13 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
Dear CRAN team,

This is an update of the {hwsdr} package (version 1.1). This package provides easy downloads of 'HWSD' soil data directly to your R workspace.

The update now includes access to the latest version 2 database (in addition to the old v1.2). It further addresses the a citation formatting issue, and removes the dependency on the {raster} package.

Kind regards,
Koen Hufkens

----

I have read and agree to the the CRAN policies at:
http://cran.r-project.org/web/packages/policies.html

Expand All @@ -6,8 +17,8 @@ http://cran.r-project.org/web/packages/policies.html
- Ubuntu 22.04 install on R 4.3.1
- Ubuntu 22.04 on github actions (devel / release)
- github actions on Windows / MacOS (release)
- codecov.io code coverage at ~85%
- codecov.io code coverage at ~83%

## local / Travis CI R CMD check results
## local R CMD check results

0 errors | 0 warnings | 0 notes
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
citHeader("To cite hwsdr in publications use:")

citEntry(
entry = "Misc",
bibentry(
bibtype = "Misc",
title = "The hwsdr package: an interface to ORNL DAAC HWSD API endpoints",
author = c(as.person("Koen Hufkens")),
year = "2021",
Expand Down

0 comments on commit b037e22

Please sign in to comment.