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
Documentation build no longer works with (some?) packages with a collate section in description (update: it seems to be packages that list one file per line in the collate field with indenting). Here is an example against the current master of ggplot2, although I've seen the same thing with one of my packages:
The only thing that gives me pause in all this is that there are not more reports of this issue here given how long 6.1 has been out, so maybe I am doing something wrong.
It is possible this was not caught because the tests use a "collate" field where the file names are all on one line and no indents (i.e. tests/description-example.txt).
The text was updated successfully, but these errors were encountered:
Documentation build no longer works with (some?) packages with a collate section in description (update: it seems to be packages that list one file per line in the collate field with indenting). Here is an example against the current master of ggplot2, although I've seen the same thing with one of my packages:
I believe this can be traced to the change to use
desc::desc
.I have a PR coming shortly that should fix the issue.
Fundamentally, the problem is that the new method of pulling the description does not trim whitespace. The old method used
read.dcf
:The new method keeps the whitespace padding:
Which then leads to this file listing:
which then causes the error when R tries to read the R directory as a file.
This is likely the source of #785 as well.
The only thing that gives me pause in all this is that there are not more reports of this issue here given how long 6.1 has been out, so maybe I am doing something wrong.
It is possible this was not caught because the tests use a "collate" field where the file names are all on one line and no indents (i.e.
tests/description-example.txt
).The text was updated successfully, but these errors were encountered: