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
Is your feature request related to a problem? Please describe:
I'm using the epinow() function to run and compare the run times of various model specifications to address #629. I am particularly interested in the "timing" output of epinow() but it currently prints a number without units, so it is not interpretable.
Describe the solution you'd like:
The "timing" output of epinow() should include units. The following line
Good point - however, would it not make more sense to just store the results of difftime (of class <difftime>? This would then leave the user with the option of printing (getting the nicely formatted output) or processing numerically.
Is your feature request related to a problem? Please describe:
I'm using the
epinow()
function to run and compare the run times of various model specifications to address #629. I am particularly interested in the "timing" output ofepinow()
but it currently prints a number without units, so it is not interpretable.Describe the solution you'd like:
The "timing" output of
epinow()
should include units. The following lineEpiNow2/R/epinow.R
Line 289 in 4915906
can be changed to
sub("Time difference of ", "", capture.output(difftime(end_time, start_time)))
to fix the issue.Additional context:
Add any other context or screenshots about the feature request here.ocument Title
The text was updated successfully, but these errors were encountered: