Open Puzzled-Face opened 4 months ago
The solution might be to change format_func
from format_func = function(x) x
to (eg)
format_func = function(z) {
kableExtra::kable_styling(
z,
bootstrap_options = c("striped", "hover", "condensed")
)
}
See knit_print
for NextBestNCRMLoss
in helpers_knitr_NextBest.R
(lines 480-485 at the time of writing).
Perhaps as a side effect of PR #804, the formatting of some
knitr
tables have changed. The issue appears to affect tables that represent slots whose values are themselvescrmPack
objects (possibly sub-classes ofDataGeneral
in particular). The values reported are unchanged and correct: it is just the appearance of the tables that has changed. For example...Previously:![image](https://github.com/Roche/crmPack/assets/133956382/39112887-ed47-4938-8e12-8d3b0dd4fa72)
Currently:![image](https://github.com/Roche/crmPack/assets/133956382/2fea3c5a-32f2-4548-b0d1-52507243a8ad)
The culprit is likely to be:![image](https://github.com/Roche/crmPack/assets/133956382/9e0b38f9-974c-4f15-96e2-78db0b530fbf)