Skip to content

Commit

Permalink
print citation in example
Browse files Browse the repository at this point in the history
  • Loading branch information
sbfnk committed Oct 18, 2023
1 parent f59e471 commit a30dc34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/cite.r
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ cite.survey <- function(x, ...) {
#' @importFrom httr GET content
#' @examples
#' data(polymod)
#' get_citation(polymod)
#' citation <- get_citation(polymod)
#' print(citation)
#' print(citation, style = "bibtex")
#' @export
get_citation <- function(x) {

Expand Down
4 changes: 3 additions & 1 deletion man/get_citation.Rd

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

0 comments on commit a30dc34

Please sign in to comment.