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
I was wondering whether it is possible to have a replicable output with map_coloring, i.e. that is constant across calls? This is particularly useful when one is trying to use testhat snapshots.
I realize that setting minimize=TRUE avoids the call to sample(), so that is already a workaround. Should one want more colors than the strict minimum, the output seems to change each time. Do you see an easy way to add maybe a seed argument?
Hi
I was wondering whether it is possible to have a replicable output with
map_coloring
, i.e. that is constant across calls? This is particularly useful when one is trying to use testhat snapshots.I realize that setting
minimize=TRUE
avoids the call tosample()
, so that is already a workaround. Should one want more colors than the strict minimum, the output seems to change each time. Do you see an easy way to add maybe aseed
argument?Thanks!
The text was updated successfully, but these errors were encountered: