Skip to content

check that nStartIntr >= 1 #159

@PeterJacko

Description

@PeterJacko

Function lNewIntr checks whether vArrTimes has at least 1 ISA to be added at time 1 to make sure that at least one ISA starts at the beginning of the trial, but this is only checked when !is.null(vArrTimes); otherwise there is no check, so I think that we should add checking that nStartIntr >= 1. This is important for making sure that length(lPltfTrial$isa) >= 1 from the beginning, which is often assumed in the rest of the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions