rjournal / rjtools

Tools for AUTHORS to use for checking and submitting articles to the R Journal
https://rjournal.github.io/rjtools/
Other
31 stars 14 forks source link

Clarify "Submission does not have consistently named tex, bib, and R files"? #21

Closed maelle closed 2 years ago

maelle commented 3 years ago

I ran rjtools::initial_check_article("paper") and got the error copied in the issue title.

I had used rjtools::create_article(filename = "response-commentary") to create the article, and to render it

rmarkdown::render("paper/response-commentary.Rmd", output_format = "rjtools::rjournal_web_article")
rmarkdown::render("paper/response-commentary.Rmd", output_format = "rjtools::rjournal_pdf_article")
maelle commented 3 years ago

I realized it means I had to rename the .bib but could it be renamed by create_article() directly?

huizezhang-sherry commented 3 years ago

Currently, yes, you will need to manually change that. We will be implementing an automatic renaming very soon.

mitchelloharawild commented 2 years ago

I've removed the check of .bib having the same file name. Since we accept Rmd now we don't need to assume the file name of the appropriate bib and can look into the front matter to locate it.