diff --git a/man/matrix_form.tabular.Rd b/man/matrix_form.tabular.Rd index fd1257e..fc21529 100644 --- a/man/matrix_form.tabular.Rd +++ b/man/matrix_form.tabular.Rd @@ -55,9 +55,14 @@ if (requireNamespace("formatters")) { } # This gives the breaks by columns, counting the - # row label columns: - bycol <- formatters::vert_pag_indices(mform, cpp = 30, rep_cols = 2, + # row label columns. + # The formatters::vert_pag_indices function had an incompatible + # change in v0.5.8 + if (packageVersion("formatters") >= "0.5.8") + bycol <- formatters::vert_pag_indices(mform, cpp = 30, rep_cols = 2, fontspec = formatters::font_spec()) + else + bycol <- formatters::vert_pag_indices(mform, cpp = 30, rep_cols = 2) # Display the table with both kinds of breaks for (i in seq_along(byrow)) { rows <- byrow[[i]]