insightsengineering / tlg-catalog

A catalog of Tables, Listings and Graphs (TLGs) created with NEST R packages
https://insightsengineering.github.io/tlg-catalog/
Other
20 stars 8 forks source link

Fix MMRMT01 and MMRMG02 after `tern.mmrm` updates #150

Closed edelarua closed 10 months ago

edelarua commented 12 months ago

todo

Following the latest updates in mmrm and tern.mmrm, this issue can be resolved after next release of tern.mmrm (v0.3.0).

Now we have this error when generating the TLG Catalog for stable package versions:

Quitting from lines 81-107 [variant2] (mmrmt01.qmd)
Error:
! 'free_cores' is not an exported object from 'namespace:mmrm'
Backtrace:
 1. tern.mmrm::fit_mmrm(...)
 7. base::ifelse(parallel, mmrm::free_cores(), 1L)
Execution halted

@walkowif it seems like the Statistical Engineering team has replaced this function in mmrm v0.3.3 but has not yet released tern.mmrm v0.2.3 (latest is v0.2.2.9006) which accounts for this change in mmrm. I'm not sure when the next planned release for tern.mmrm is (it was an uncommitted item on Kendis).

Originally posted by @edelarua in https://github.com/insightsengineering/tlg-catalog/issues/122#issuecomment-1749085014

danielinteractive commented 12 months ago

My understanding is that the NEST SME team @shajoezhu et al will release tern.mmrm soonish