Skip to content

Commit

Permalink
add citation template
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Jun 22, 2024
1 parent 6e11e9c commit 4e8408f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
3 changes: 3 additions & 0 deletions R/one-sample-test.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
#' @autoglobal
#'
#' @example man/examples/examples-one-sample-test.R
#'
#' @template citation
#'
#' @export
one_sample_test <- function(
data,
Expand Down
1 change: 0 additions & 1 deletion inst/CITATION
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
bibentry(
"Article",
doi = "10.21105/joss.03236",
url = "https://doi.org/10.21105/joss.03236",
year = 2021,
publisher = "{The Open Journal}",
volume = 6,
Expand Down
6 changes: 6 additions & 0 deletions man-roxygen/citation.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#'
#' @section Citation:
#' ```{r citation, echo=FALSE, results='asis'}
#' print(citation("statsExpressions"), style = "text")
#' ```
#'
7 changes: 7 additions & 0 deletions man/one_sample_test.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4e8408f

Please sign in to comment.