Skip to content

Conversion failed #50

Description

@llrs-roche

I was running some code that used val.meter and I found this issue:

m <- metrics()
metric_coerce(NA, m[["test_line_coverage_fraction"]]@data_class)
## Error: Can't find method for generic `convert()` with dispatch classes:
## - from: <logical>
## - to  : <double>

This is required to prefill some metrics. Even using NA_integer_ didn't find it acceptable to convert to "double".

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