Skip to content

Commit

Permalink
Fix duplicate
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed May 27, 2024
1 parent a48c7e5 commit 1cca677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/article.R
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ springer_article <- function(..., keep_tex = TRUE, citation_package = "natbib",
# https://github.com/rstudio/rticles/pull/494
options <- rmarkdown::yaml_front_matter(input)
new_template_msg <- function(ver) return (c(sprintf("If you are rendering an old Rmd, be advise that the template has changed in version '%s'\n", ver),
" and you should check new template or start from a fresh template to get latest resources and new YAML header format.", ver))
" and you should check new template or start from a fresh template to get latest resources and new YAML header format."))
if (is.null(options[["classoptions"]])) {
stop("`springer_article()` now requires the 'classoptions' field in YAML front matter. ",
new_template_msg("0.25"), call. = FALSE)
Expand Down

0 comments on commit 1cca677

Please sign in to comment.