-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
epinow()
's "timing" output should include units
#687
Comments
Good point - however, would it not make more sense to just store the results of |
That's a good point. I've made the changes in the linked PR. |
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: