Skip to content

Commit

Permalink
adding citation
Browse files Browse the repository at this point in the history
  • Loading branch information
doserjef committed Oct 18, 2023
1 parent 1505bc2 commit 680d6ce
Show file tree
Hide file tree
Showing 3 changed files with 239 additions and 109 deletions.
20 changes: 20 additions & 0 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
if (!exists("meta") || is.null(meta)) meta <- packageDescription("spOccupancy")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

bibentry(bibtype = "Article",
title = "{spAbundance: An R package for univariate and multivariate spatially-explicit abundance models}",
author = c(as.person("Jeffrey W. Doser"), as.person("Andrew O. Finley"), as.person("Marc Kéry"), as.person("Elise F. Zipkin")),
journal = "arXiv Preprint",
year = "2023",
volume = "",
number = "",
pages = "",
url = "",

textVersion =
paste("Doser, J. W., Finley A. O., Kéry, M., & Zipkin E. F. (2022).",
"spAbundance: An R package for univariate and multivariate spatially-explicit abundance models",
"arXiv Preprint.")
)
7 changes: 6 additions & 1 deletion src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@ static const R_CallMethodDef CallEntries[] = {
{"spNMixNNGP", (DL_FUNC) &spNMixNNGP, 64},
{"spNMixNNGPPredict", (DL_FUNC) &spNMixNNGPPredict, 22},
{"msNMix", (DL_FUNC) &msNMix, 53},
{"lfMsNMix", (DL_FUNC) &lfMsNMix, 54},
{"lfMsNMix", (DL_FUNC) &lfMsNMix, 55},
{"sfMsNMixNNGP", (DL_FUNC) &sfMsNMixNNGP, 65},
{"sfMsNMixNNGPPredict", (DL_FUNC) &sfMsNMixNNGPPredict, 22},
{"DS", (DL_FUNC) &DS, 49},
{"spDSNNGP", (DL_FUNC) &spDSNNGP, 63},
{"msDS", (DL_FUNC) &msDS, 57},
{"lfMsDS", (DL_FUNC) &lfMsDS, 59},
{"sfMsDSNNGP", (DL_FUNC) &sfMsDSNNGP, 65},
{"waicAbund", (DL_FUNC) &waicAbund, 13},
{"checkAlphaDS", (DL_FUNC) &checkAlphaDS, 20},
{"checkMSAlphaDS", (DL_FUNC) &checkMSAlphaDS, 20},
{"svcAbundNNGP", (DL_FUNC) &svcAbundNNGP, 46},
{"svcAbundNNGPPredict", (DL_FUNC) &svcAbundNNGPPredict, 25},
{"svcMsAbundGaussianNNGP", (DL_FUNC) &svcMsAbundGaussianNNGP, 50},
{"svcMsAbundGaussianNNGPPredict", (DL_FUNC) &svcMsAbundGaussianNNGPPredict, 27},
{NULL, NULL, 0}
};
Expand Down
Loading

0 comments on commit 680d6ce

Please sign in to comment.