Skip to content

Feature: option to capture exact "console error" #349

Description

@barboulotte

Related question on SO: https://stackoverflow.com/questions/66603676/capture-error-messages-as-character-string-in-r/66660202

See also r-lib/evaluate#101

Would it be possible to capture exact "console error":

5 5
#> Error: unexpected numeric constant in "5 5"

message(paste("Error:", pander::evals("5 5")[[1]]$msg$errors))
#> Error: Unexpected numeric constant at character 3 in line 1: ` 5 5`

Thank you,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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