Skip to content

Commit

Permalink
removes reference to deleted function
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Apr 9, 2018
1 parent b4e6e69 commit f879691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/parse_citation.R
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ guess_citation <- function(pkg){
installed <- installed.packages()
if(file.exists(file.path(pkg, "inst/CITATION"))){
bib <- readCitationFile(file.path(pkg, "inst/CITATION"),
meta = cm_read_dcf(file.path(pkg, "DESCRIPTION")))
meta = desc::desc(file.path(pkg, "DESCRIPTION")))
lapply(bib, parse_citation)
} else if(pkg %in% installed[,1]){
bib <- suppressWarnings(citation(pkg)) # don't worry if no date
Expand Down

0 comments on commit f879691

Please sign in to comment.