Open billdenney opened 2 years ago
At the beginning of the session, clean the cached models. That is:
rxClean()
This assumes you setup the cache (which ti think you had to do to use drake
)
That fixed it. Thanks! Any way that the user can be told to do that if this issue occurs?
All things are possible, It is difficult to test, though, so difficult to catch and see what the problem could be. If I could catch it, I could also simply clean it and then recompile the model from the beginning.
It has become less common now that RxODE
removes the cache for a new version of RxODE
or nlmixr
Looking around a bit, I found that I could do ls("package:base")
to get a list of all functions in a package. That seems like it's moving toward the ability to detect if the function exists. But, you would still need to be able to know the name of the function to check it against that list.
While trying to reproduce an error in a new R session in Windows, I got the following error:
What I did was:
The specific code I was running is:
(I'm about to try to anonymize the data so that I can provide it in the other issue.)