You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If inputting something that cannot be converted to an integer such as a string (as.integer('a')) the variable will be NA of class integer. When this is then run through reticulate, this will be converted to the lowest negative value. Example:
This can lead to strange edge cases, such as when using set_peripheral_compartments it gets stuck. pharmr should catch this before trying to convert values to integers.
E.g. if you run
set_peripheral_compartments(model, 1.5)
pharmr will convert this withas.integer
making it into1
, however this should raise.The text was updated successfully, but these errors were encountered: