Skip to content

only lower case parameter names are allowed (upper case will crash in PM_sim$new() #380

Description

@masyamada

Describe the bug
In with_indexed_errors() the parameter names are lower case, even if the parameter names in the pop description are upper case

Expected behavior
parameter names are constant from declaration in the model throughout R computation

Screenshots
2 Error in map():
3 ℹ In index: 1.
4 Caused by error in if (!outside_check(draw, lower_j, upper_j)) ...:
5 ! missing value where TRUE/FALSE needed
6
7 Hide Traceback
8 ▆
9 1. ├─PM_sim$new(...) at lapk/saem/one_comp_test:38:1
10 2. │ └─Pmetrics (local) initialize(...)
11 3. │ └─private$SIMrun(...)
12 4. │ └─private$getSimPrior(...)
13 5. │ └─Pmetrics:::generate_multimodal_samples(...)
14 6. │ └─purrr::map(...)
15 7. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
16 8. │ ├─purrr:::with_indexed_errors(...)
17 9. │ │ └─base::withCallingHandlers(...)
18 10. │ ├─purrr:::call_with_cleanup(...)
19 11. │ └─Pmetrics (local) .f(.x[[i]], ...)
20 12. └─base::.handleSimpleError(...)
21 13. └─purrr (local) h(simpleError(msg, call))
22 14. └─cli::cli_abort(...)
23 15. └─rlang::abort(...)
~

Version information
metrics 3.2.4
osx

Additional context
no.

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