Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

better error messages #184

Closed
Closed
@ggrothendieck

Description

@ggrothendieck

There are a number of places where Rcpp can fail becauseTYPEOF(x) does not equalRTYPE. Since both of these are known at the point that the error is given it would help if these were displayed, e.g. rather than just"some message" use:std:string("some message TYPEOF(x): ") + CHAR(Rf_type2str(TYPEOF(x))) + " RTYPE: " + CHAR(Rf_type2str(RTYPE))
At least that will give some bit of clue as to what the problem might be.

Any other info that might be added to the error message to help locate the problem could be helpful too.

This applies to RcppEigen too.

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp