Skip to content

Commit

Permalink
usethis::use_citation() and fill in using frictionless-r as example
Browse files Browse the repository at this point in the history
  • Loading branch information
PietrH committed Nov 21, 2023
1 parent 6ab8375 commit 9553689
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions inst/CITATION
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
authors <- eval(parse(text = meta$`Authors@R`))
authors <- authors[which(unlist(lapply(authors, function(x) { "aut" %in% x$role })))]

bibentry(
bibtype = "manual",
title = paste(meta$Package, meta$Title, sep = ": "),
author = authors,
year = format(Sys.Date(), "%Y"),
note = sprintf("R package version %s", meta$Version),
url = "https://inbo.github.io/etn/"
)

0 comments on commit 9553689

Please sign in to comment.