Skip to content

Meta Issue: Clean-up of current major changes #346

@nikosbosse

Description

@nikosbosse

Need to clean up bits and pieces:

In terms of error messages, something that we had before that I liked:

sprintf(
        "Mismatch: 'observed' has length `%s`, but 'predicted' has length `%s`.", # nolint
        length(observed), length(predicted)
      )

or

 if (!is.null(observed) && nrow(predicted) != length(observed)) {
      msg <- sprintf(
        "Mismatch: 'observed' has length `%s`, but 'predicted' has `%s` rows.",
        length(observed), nrow(predicted)
      )
      stop(msg)
    }

Making sure that arguments are called the same everywhere

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedSomething needs to happen before this can proceed

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions