Skip to content

Commit

Permalink
Update README.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Aug 15, 2024
1 parent fab2885 commit 4c67843
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
16 changes: 12 additions & 4 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
output: md_document
---
[![CRAN Version (Stable)](http://www.r-pkg.org/badges/version-ago/soilDB)](https://cran.r-project.org/package=soilDB)
[![CRAN version](https://www.r-pkg.org/badges/version/soilDB)](https://CRAN.R-project.org/package=soilDB)
[![CRAN status](https://badges.cranchecks.info/worst/soilDB.svg)](https://cran.r-project.org/web/checks/check_results_soilDB.html)
[![Development Version](https://ncss-tech.r-universe.dev/badges/soilDB)](https://ncss-tech.r-universe.dev/)
[![R-CMD-check Build Status](https://github.com/ncss-tech/soilDB/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/ncss-tech/soilDB/actions)
[![Total CRAN Downloads](http://cranlogs.r-pkg.org/badges/grand-total/soilDB)](https://cran.r-project.org/package=soilDB)
[![Total CRAN Downloads](https://cranlogs.r-pkg.org/badges/soilDB)](https://cran.r-project.org/package=soilDB)
![CRAN/METACRAN](https://img.shields.io/cran/l/soilDB)
[![soilDB Manual](https://img.shields.io/badge/docs-HTML-informational)](https://ncss-tech.github.io/soilDB/)

Expand Down Expand Up @@ -35,8 +35,16 @@ bibentry(
# get latest tagged release from github
soilDB_CRAN_VERSION <- .getLatestCRANRelease()
# get installed version
soilDB_INSTALLED_VERSION <- packageVersion("soilDB")
if (soilDB_INSTALLED_VERSION > soilDB_CRAN_VERSION) {
.update_CITATION(soilDB_INSTALLED_VERSION)
} else {
.update_CITATION(soilDB_CRAN_VERSION)
}
# update inst/CITATION
.update_CITATION(soilDB_CRAN_VERSION)
```

## Installation
Expand Down Expand Up @@ -85,7 +93,7 @@ citation("soilDB")
- [`get_SDA_muaggatt`](http://ncss-tech.github.io/soilDB/reference/get_SDA_muaggatt.html)
- [`get_SDA_pmgroupname`](http://ncss-tech.github.io/soilDB/reference/get_SDA_pmgroupname.html)
- [`get_SDA_property`](http://ncss-tech.github.io/soilDB/reference/get_SDA_property.html)
- [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecosite.html)
- [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecoclass.html)
- [`get_SDA_metrics`](http://ncss-tech.github.io/soilDB/reference/get_SDA_metrics.html)
- [`get_SDA_cosurfmorph`](http://ncss-tech.github.io/soilDB/reference/get_SDA_cosurfmorph.html)

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[![CRAN Version
(Stable)](http://www.r-pkg.org/badges/version-ago/soilDB)](https://cran.r-project.org/package=soilDB)
[![CRAN
version](https://www.r-pkg.org/badges/version/soilDB)](https://CRAN.R-project.org/package=soilDB)
[![CRAN
status](https://badges.cranchecks.info/worst/soilDB.svg)](https://cran.r-project.org/web/checks/check_results_soilDB.html)
[![Development
Version](https://ncss-tech.r-universe.dev/badges/soilDB)](https://ncss-tech.r-universe.dev/)
[![R-CMD-check Build
Status](https://github.com/ncss-tech/soilDB/actions/workflows/R-CMD-check.yml/badge.svg)](https://github.com/ncss-tech/soilDB/actions)
[![Total CRAN
Downloads](http://cranlogs.r-pkg.org/badges/grand-total/soilDB)](https://cran.r-project.org/package=soilDB)
Downloads](https://cranlogs.r-pkg.org/badges/soilDB)](https://cran.r-project.org/package=soilDB)
![CRAN/METACRAN](https://img.shields.io/cran/l/soilDB) [![soilDB
Manual](https://img.shields.io/badge/docs-HTML-informational)](https://ncss-tech.github.io/soilDB/)

Expand All @@ -33,15 +33,15 @@ Get the development version from GitHub:
## To cite soilDB in publications use:
##
## Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2024). soilDB:
## Soil Database Interface. R package version 2.8.3.
## Soil Database Interface. R package version 2.8.4.
## <https://CRAN.R-project.org/package=soilDB>
##
## A BibTeX entry for LaTeX users is
##
## @Manual{,
## title = {soilDB: Soil Database Interface},
## author = {Dylan Beaudette and Jay Skovlin and Stephen Roecker and Andrew Brown},
## note = {R package version 2.8.3},
## note = {R package version 2.8.4},
## url = {https://CRAN.R-project.org/package=soilDB},
## year = {2024},
## }
Expand All @@ -67,7 +67,7 @@ Get the development version from GitHub:
- [`get_SDA_muaggatt`](http://ncss-tech.github.io/soilDB/reference/get_SDA_muaggatt.html)
- [`get_SDA_pmgroupname`](http://ncss-tech.github.io/soilDB/reference/get_SDA_pmgroupname.html)
- [`get_SDA_property`](http://ncss-tech.github.io/soilDB/reference/get_SDA_property.html)
- [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecosite.html)
- [`get_SDA_coecoclass`](http://ncss-tech.github.io/soilDB/reference/get_SDA_coecoclass.html)
- [`get_SDA_metrics`](http://ncss-tech.github.io/soilDB/reference/get_SDA_metrics.html)
- [`get_SDA_cosurfmorph`](http://ncss-tech.github.io/soilDB/reference/get_SDA_cosurfmorph.html)
- SSURGO Web Soil Survey
Expand Down
4 changes: 2 additions & 2 deletions inst/CITATION
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ bibentry(
bibtype = "Manual",
title = "soilDB: Soil Database Interface",
author = "Dylan Beaudette, Jay Skovlin, Stephen Roecker and Andrew Brown",
note = "R package version 2.8.3",
note = "R package version 2.8.4",
url = "https://CRAN.R-project.org/package=soilDB",
year = "2024",
textVersion = "Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2024). soilDB: Soil Database Interface. R package version 2.8.3. <https://CRAN.R-project.org/package=soilDB>"
textVersion = "Beaudette, D., Skovlin, J., Roecker, S., Brown, A. (2024). soilDB: Soil Database Interface. R package version 2.8.4. <https://CRAN.R-project.org/package=soilDB>"
)

0 comments on commit 4c67843

Please sign in to comment.