CRAN check: '\R' is an unrecognized escape in character string starting "'D:\temp\R"
Asked Answered
H

1

10

I'm trying to update a package on CRAN, but I'm getting a warning on their automatic check I can't reproduce in R CMD check. These are the last lines of the log file:

   * checking re-building of vignette outputs ... [0s] WARNING
    Error(s) in re-building vignettes:
    Error: '\R' is an unrecognized escape in character string starting "'D:\temp\R"
    Execution halted

R CMD check passes with no errors in my computer for both Linux and Windows versions and I'm unable to find where is "'D:\temp\R" being used. There is no file path written in the package vignette at all.

How can I figure out where exactly is the error happening and fix it?

I'm aware how the backslash causes trouble in Windows and most similar questions are related to that, while my problem is at finding out why CRAN did this even when I didn't use file paths at all.

Herrod answered 5/1, 2019 at 15:59 Comment(3)
Best guess, this is not your fault. This was brought up on the r-devel mailing list recently: stat.ethz.ch/pipermail/r-devel/2019-January/077157.htmlIsiahisiahi
Does this makes it impossible to submit packages by now or is there a way to avoid it? Maybe removing the Vignettes completely?Herrod
Same here. This looks like a windows issue maybe as a result of a call to tempdir()Susumu
H
1

It seems like it was a CRAN problem as mentioned in the comments. I just received an e-mail as if my previous submission was fine, without sending a new form.

Herrod answered 7/1, 2019 at 18:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.