From b71b20451acf32288bb05f2b2baf15cf67f5107f Mon Sep 17 00:00:00 2001 From: Maximilian Hesselbarth Date: Wed, 8 Mar 2023 07:47:58 +0100 Subject: [PATCH 1/3] [skip-ci] Update README --- README.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.Rmd b/README.Rmd index ce52177f..6604274d 100644 --- a/README.Rmd +++ b/README.Rmd @@ -17,7 +17,7 @@ knitr::opts_chunk$set( -Last updated: `r Sys.Date()` +README Last updated: `r Sys.Date()` | CI | Development | CRAN | License | |----|-------------|------|---------| From a1acb063be13e86a1470d7fbc5e1323b6cc34817 Mon Sep 17 00:00:00 2001 From: mhesselbarth Date: Wed, 8 Mar 2023 06:50:54 +0000 Subject: [PATCH 2/3] Re-build README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 321ea1dc..c533402d 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ -Last updated: 2022-11-01 +README Last updated: 2023-03-08 | CI | Development | CRAN | License | |--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------| @@ -58,8 +58,8 @@ remotes::install_github("r-spatialecology/shar") ``` This also automatically installs all non-base `R` package dependencies, -namely the following packages: `classInt`, `raster`, `spatstat.explore`, `spatstat.model`, -`spatstat.geom`. +namely the following packages: `classInt`, `raster`, `spatstat.explore`, +`spatstat.model`, `spatstat.geom`. ## How to use shar From 43b372298d14ef349bbf279b6523a77ae24023e6 Mon Sep 17 00:00:00 2001 From: mhesselbarth Date: Mon, 13 Mar 2023 13:48:27 +0100 Subject: [PATCH 3/3] Fix citation --- cran-comments.md | 8 +++++++- inst/CITATION | 26 +++++++++++++------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/cran-comments.md b/cran-comments.md index e412b771..b1ce15a1 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,6 +1,12 @@ -For details changes, please see NEWS.md. +For details changes, please see NEWS.md ## shar 2.0.3 +This is a re-submission. The below error has now been fixed + +``` +Package CITATION file contains call(s) to old-style citEntry(). Please use bibentry() instead. +``` + Improvements of existing functions ## shar 2.0.2 diff --git a/inst/CITATION b/inst/CITATION index 9626acdd..9272504b 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,13 +1,13 @@ -citHeader("To cite 'shar' in publications and acknowledge its use, please cite the following paper:") - -citEntry( - entry = "Article", - title = "shar: A R package to analyze species-habitat associations using point pattern analysis", - author = "Maximilian H.K. Hesselbarth", - journal = "Journal of Open Source Software", - year = "2021", - volume = "6", - number = "67", - pages = "3811", - doi = "10.21105/joss.03811", - textVersion = "Hesselbarth, M.H.K., (2021). shar: A R package to analyze species-habitat associations using point pattern analysis. Journal of Open Source Software, 6(67), 3811. https://doi.org/10.21105/joss.03811") +citHeader("To cite 'shar' in publications and acknowledge its use, please cite the following paper:") + +bibentry( + bibtype = "Article", + title = "shar: A R package to analyze species-habitat associations using point pattern analysis", + author = "Maximilian H.K. Hesselbarth", + journal = "Journal of Open Source Software", + year = "2021", + volume = "6", + number = "67", + pages = "3811", + doi = "10.21105/joss.03811", + textVersion = "Hesselbarth, M.H.K., (2021). shar: A R package to analyze species-habitat associations using point pattern analysis. Journal of Open Source Software, 6(67), 3811. https://doi.org/10.21105/joss.03811")