-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Labels
Milestone
Description
The latest version (7.0.0) breaks one of my .Rd files containing the following code in an example:
paths <- list("./aaa/zzz",
"./aaa/zzz/",
".//aaa//zzz",
".//aaa//zzz/",
".\\aaa\\zzz",
".\\aaa\\zzz\\", ## <- the double backslashes should convert to quad-backslashes
file.path(".", "aaa", "zzz"))
gets converted to this in the .Rd:
paths <- list("./aaa/zzz",
"./aaa/zzz/",
".//aaa//zzz",
".//aaa//zzz/",
".\\\\aaa\\\\zzz",
".\\\\aaa\\\\zzz\\\", ## <- note the 3 trailing backslashes instead of 4
file.path(".", "aaa", "zzz"))
this has the effect of escaping the closing quotation mark, which results in the warning
Warning: newline within quoted string
As a workaround, I have commented out the offending line in the example, but this is a temporary solution.
PredictiveEcology/reproducible@fbf8bf6
Reactions are currently unavailable