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
1) The check says the title is in error and suggests using \emph{. That does not work either for me, but then I don’t understand what the error is in the first place and neither does the check.
Here is the code and output:
title: "UpAndDownPlots: An R Package for Displaying Absolute and Percentage Changes"
> check_title(path = "~/Desktop/UpAndDownR-f/UaDfinalRev-f")
✖ ERROR: Article title not in title case! Suggest title: \emph{upanddownplots.
> tools::toTitleCase("UpAndDownPlots: An R Package for Displaying Absolute and Percentage Changes")
[1] "UpAndDownPlots: An R Package for Displaying Absolute and Percentage Changes”
What’s the difference?
The text was updated successfully, but these errors were encountered:
I can't reproduce this using the test article, and changing the title:
check_title(".")
✔ SUCCESS: Article title formatted in title case.
But I do see that check_title() is still using the tex file to check the title. This dates back to the old format, so it needs to extract the title from the YAML and check this.
Just a note that the part before : has to be handled separately in title case checks because we interpret this to be a package name, and could have any title case.
From author of 2024-30:
The text was updated successfully, but these errors were encountered: