Skip to content

LVDT calculation error when uploading study dummy data #39

@CarlosEpiStats

Description

@CarlosEpiStats

When uploading dummy ADAE and ADSL data from one study, the app fades out and the following error is shown in the console:

Warning: Error in dplyr::mutate: i In argument: `LVDT = case_when(is.na(LVDT) ~ last_date, !is.na(LVDT) ~ anytime::anydate(LVDT))`.
Caused by error in `case_when()`:
! Can't recycle `..1 (left)` (size 498) to match `..1 (right)` (size 2).

Probably the bug is inside R/calculate_and_impute_required_variables_missing_values.R

Suggested: to understand why this error happens and add a fix or display a meaningful error message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions