Skip to content

assert spillover from tinyformat? #237

@eddelbuettel

Description

@eddelbuettel

Kurt Hornik pointed out that the tinyformat.h may spill assert:

Where are we with textreg then? "Their" problem in assert() misuse, or do
you suspect a spillover from headers (though you'd think we see that
more often).

I can only guess: grepping the old and new Rcpp sources for assert shows
that you now have

/inst/include/RcppCommon.h:#include <Rcpp/utils/tinyformat.h>

which in turn includes cassert ... (which I guess brings in the usual
1-arg assert). Right?

@kevinushey @romainfrancois : As you're more familiar with tinyformat.h, can you check and possible undef as needed? So far package textreg appears to be the only casualty, and I misdiagnosed this.

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