Hello, My package HPAanalyze (https://doi.org/doi:10.18129/B9.bioc.HPAanalyze) has been having problem with the devel build/check, and I am not sure how to troubleshoot it. The release branch has the same content, but does not have this issue. The error note for all platforms are the same below: * checking for file ?HPAanalyze/DESCRIPTION? ... OK * preparing ?HPAanalyze?: * checking DESCRIPTION meta-information ... OK Warning in grepl(e, files, perl = TRUE, ignore.case = TRUE) : PCRE pattern compilation error 'unrecognized character follows \' at 'ignore' Error in grepl(e, files, perl = TRUE, ignore.case = TRUE) : invalid regular expression '^\ignore' Execution halted I looked at the "ignore" folder, but it doesn't seem to contain any special characters. This branch was pushed a few month ago, but only started having this problem recently. May you help me to figure out what's wrong, please? Thank you very much. Sincerely, Anh Tran.
[Bioc-devel] (no subject)
2 messages · Anh N Tran, Martin Morgan
This is from your .Rbuildignore file.
`\` is usually interpreted as an escape character, e.g., to interpret '.' as a literal period rather than a wild-card one would write `\.`. I think you're trying to use it as a file path delimiter, and the easiest solution is to adopt the Linux convention `/ignore`.
(but there is no 'ignore' folder in your git repository, so maybe you can just delete the line from .Rbuildignore?)
The change is likely because R has changed, in the 4.0 release branch, the underlying 'perl-compatible regular expression' (PCRE) library it uses for regular expression matching.
Martin
?On 4/13/20, 4:44 PM, "Bioc-devel on behalf of Anh N Tran" <bioc-devel-bounces at r-project.org on behalf of trannhatanh89 at gmail.com> wrote:
Hello,
My package HPAanalyze (https://doi.org/doi:10.18129/B9.bioc.HPAanalyze) has
been having problem with the devel build/check, and I am not sure how to
troubleshoot it. The release branch has the same content, but does not have
this issue. The error note for all platforms are the same below:
* checking for file ?HPAanalyze/DESCRIPTION? ... OK
* preparing ?HPAanalyze?:
* checking DESCRIPTION meta-information ... OK
Warning in grepl(e, files, perl = TRUE, ignore.case = TRUE) :
PCRE pattern compilation error
'unrecognized character follows \'
at 'ignore'
Error in grepl(e, files, perl = TRUE, ignore.case = TRUE) :
invalid regular expression '^\ignore'
Execution halted
I looked at the "ignore" folder, but it doesn't seem to contain any special
characters. This branch was pushed a few month ago, but only started having
this problem recently.
May you help me to figure out what's wrong, please?
Thank you very much.
Sincerely,
Anh Tran.
_______________________________________________
Bioc-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel