You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(fr()){
if(!length(ca_ind)){
warning("You are missing the `citation_english:` tag in your YAML file:\n",
fn, ". This citation is required when you build in French as it ",
"is set to the other language citation on page 2 of ",
"the document")
return(invisible())
}
}else{
if(!length(cf_ind)){
warning("You are missing the `citation_french:` tag in your YAML file:\n",
fn, ". This citation is required when you build in English as it ",
"is set to the other language citation on page 2 of ",
"the document")
return(invisible())
}
}
But not all templates have or use citation_english and citation_french. E.g. in Tech Reports are usually only in one language and the Res Docs use citation_other_language. For now, I turned this to a message instead of warning, because it was breaking several unit tests and therefore R CMD check.
The text was updated successfully, but these errors were encountered:
set_citations()
has a check:But not all templates have or use
citation_english
andcitation_french
. E.g. in Tech Reports are usually only in one language and the Res Docs usecitation_other_language
. For now, I turned this to a message instead of warning, because it was breaking several unit tests and therefore R CMD check.The text was updated successfully, but these errors were encountered: