diff --git a/R/tables_mform.R b/R/tables_mform.R index 31ee128..d4e015b 100644 --- a/R/tables_mform.R +++ b/R/tables_mform.R @@ -52,7 +52,7 @@ matrix_form.tabular <- function(df) { # formatters has renamed the matrix_print_form function to # MatrixPrintForm - MatrixPrintForm <- try(get("MatrixPrintForm", envir = asNamespace("formatters"))) + MatrixPrintForm <- try(get("MatrixPrintForm", envir = asNamespace("formatters")), silent = TRUE) if (inherits(MatrixPrintForm, "try-error")) MatrixPrintForm <- get("matrix_print_form", envir = asNamespace("formatters")) diff --git a/cran-comments.md b/cran-comments.md index d512854..ecb84ff 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,3 +1,8 @@ +# tables 0.9.25 + +Tried to handle the `formatters::matrix_print_form` differently, +so we never refer to something that isn't there. + # tables 0.9.24 This is a minor release, fixing a few bugs and adding a function