Skip to content

[R] Error in data-raw/codegen.R due to change from dplyr pipe to base pipe #47941

@thisisnic

Description

@thisisnic

Describe the bug, including details regarding any error messages, version, and platform.

In get_exported_function() in data-raw/codegen, there is this chunk:

mutate(functions = map(context, decor:::parse_cpp_function)) |>
    {
      vec_cbind(., vec_rbind(!!!pull(., functions)))
    } |>

which no longer works because dplyr pipes and base pipes work differently.

I created a fix in 63d1d18 but we should also cherry-pick this across into the main branch.

I'm surprised none of our CI picks this up though - maybe we need to update some of our tests?

Component(s)

R

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions