diff --git a/NEWS b/NEWS index 471d5c4..cfe5c73 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,8 @@ Version 1.2 * Order `NA` factor levels before `(all)` when creating margins +* Corrected reshape citation. + Version 1.1 ----------- diff --git a/inst/CITATION b/inst/CITATION index 3e5ad32..222edde 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,12 +1,19 @@ -citHeader("To cite reshape in publications, please use:") - -citEntry(entry = "article", - author = "Hadley Wickham", - journal = "Journal of Statistical Software", - number = "12", - title = "Reshaping data with the reshape package", - url = "http://www.jstatsoft.org/v21/i12/paper", - volume = "21", - year = "2007", - textVersion = "H. Wickham. Reshaping data with the reshape package. Journal of Statistical Software, 21(12), 2007." -) \ No newline at end of file +citHeader("To cite reshape in publications use:") + +citEntry(entry = "Article", + title = "Reshaping Data with the {reshape} Package", + author = personList(as.person("Hadley Wickham")), + journal = "Journal of Statistical Software", + year = "2007", + volume = "21", + number = "12", + pages = "1--20", + url = "http://www.jstatsoft.org/v21/i12/", + + textVersion = + paste("Hadley Wickham (2007).", + "Reshaping Data with the reshape Package.", + "Journal of Statistical Software, 21(12), 1-20.", + "URL http://www.jstatsoft.org/v21/i12/.") +) +