Skip to content

Reproducible (minimal ?) need for two compileAttributes() runs #934

@eddelbuettel

Description

@eddelbuettel

This comes courtesy of a colleague. If one does

  1. Create 'New package with Rcpp' followed by Build->Install+Restart -- OK
  2. Add new C++ file using the examples, saved in src/ as .e.g. `src/doubleMe.src, Install+Restart -- OK
  3. Now delete the initial src/rcpp_hello_world.cpp, Install+Restart --> Link error

Two runs of compileAttributes() fix it, but the IDE does not suggest it. Can we think of a heuristic to figure out when to run it twice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions