What's up with the warnings?
After I began extracting functions from ecxsys, the warnings produced during sys fitting sometimes don't get displayed in the console. This somehow has nothing to do with options("warn").
This prints a warning in the console:
ecxsys(
concentration = c(0, 0.1, 0.5, 1, 10, 33),
hormesis_concentration = 0.5,
effect_tox_observed = c(98, 98, 96, 76, 26, 0)
)
This does not, but it should:
ecxsys(
concentration = c(0, 0.1, 0.5, 1, 10, 33),
hormesis_concentration = 0.5,
effect_tox_observed = c(98, 98, 96, 76, 26, 0),
effect_tox_env_observed = c(98, 98, 96, 76, 26, 0)/2
)
I should revisit this after I have refactored ecxsys(). In the meantime I removed the warnings from sys fitting.
Is this somehow related to the options stuff in drm? Maybe I should wait until their new version is released on CRAN.
Try to reduce the function until I have a reproducible example. Is it related to drm? What if I build a small function with and without drm which produces warnings? Also with and without resetting options. Or is it related to the operating system? I wrote that options stuff on Linux and there it seemed ok.