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 24d1921
Showing 1 changed file with 3 additions and 1 deletion.
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

0 comments on commit 24d1921

Please sign in to comment.