Skip to content

Bug: derive_study_day overwrites partial dates in the input data #127

Description

@liinhater

What happened?

Lines 120–130 convert the target date using as.Date, which turns partial dates into NA—this is expected, as complete dates are required for calculation. However, the code then converts numeric dates back to character format and overwrites the original variable, resulting in a column that retains only complete dates.

Session Information

No response

Reproducible Example

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    Product Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions