Skip to content

Exclude should occur before missing time check #310

@billdenney

Description

@billdenney
library(PKNCA)
#> 
#> Attaching package: 'PKNCA'
#> The following object is masked from 'package:stats':
#> 
#>     filter

d <- data.frame(time = c(1, NA), conc = c(1, NA), exclude = c(NA, "foo"))
PKNCAconc(conc~time, data = d, exclude = "exclude")
#> Error in assert_time(time, sorted_time = sorted_time): Assertion on 'time' failed: Contains missing values (element 2).

Created on 2024-07-24 with reprex v2.1.0

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