tbates / umx

Making Structural Equation Modeling (SEM) in R quick & powerful
https://tbates.github.io/
44 stars 17 forks source link

minutes / hours not reported in umx_time formatStr='simple' #137

Closed khusmann closed 4 years ago

khusmann commented 4 years ago

Example:

> umx_time(c(m1, m2,m3))
ACE: 06.14 seconds, 
ACE: 42.13 seconds(Δ: 455.988), 7521.648%
ACE: 00.35 seconds(Δ: 534.213), 8794.836%

When in fact:

> umx_time(c(m1,m2,m3), formatStr="std")
ACE: Wall clock time (HH:MM:SS.hh): 00:00:06.14, 
ACE: Wall clock time (HH:MM:SS.hh): 00:07:42.13(Δ: 455.988), 7521.648%
ACE: Wall clock time (HH:MM:SS.hh): 00:09:00.35(Δ: 534.213), 8794.836%
tbates commented 4 years ago

bug introduced expanding umx_time to handle multiple models - was stepping on the formatString. Working now