Skip to content

modify lookup of nimble package functions in model building and in compilation for nimble-using packages with import not depends #1603

@paciorek

Description

@paciorek

It looks like we can add nimble:: for getNimbleOption (which is what came up in the user post) as well as nimSwitch,messageIfVerbose,nimbleUserNamespace,nimbleInternalFunctions,waicDetailsNimbleList,waicNimbleList,is.nf. This will need to be done in nimbleModel and some other places I need to investigate, as the items above starting with nimbleUserNamespace popped up when trying to run compileNimble.

However, this will not fully address issue #1304 in that lookup will still fail for model nodeFunctions.

So I guess it is somewhat of an open question whether to do this. I'm inclined to do it as it will be easy to do and might in some cases allow dependent packages to avoid Depends (e.g., if the dependent package builds the model for the user, presumably with calculate=FALSE, and never calls uncompiled nodeFunctions).

@perrydv @danielturek thoughts?

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