Skip to content

R CMD check failure with dev version of stringr #5

@hadley

Description

@hadley
checking examples ... ERROR
Running examples in ‘selectr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: css_to_xpath
> ### Title: Translate a CSS selector to an equivalent XPath expression.
> ### Aliases: css_to_xpath
> 
> ### ** Examples
> 
>   css_to_xpath(".testclass")
Error in stri_locate_first_regex(string, pattern, opts_regex = attr(pattern,  : 
  Syntax error in regexp pattern. (U_REGEX_RULE_SYNTAX)
Calls: css_to_xpath ... match_ident -> str_locate -> stri_locate_first_regex -> .Call
Execution halted

Can you please check the regexp syntax that you're generating?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions