From b0ea906c765ca4be890b328d8d6c057a4d5c5ea8 Mon Sep 17 00:00:00 2001 From: Duncan Murdoch Date: Sat, 13 Apr 2024 16:04:11 -0400 Subject: [PATCH] Missed "silent=TRUE" --- R/tables_mform.R | 2 +- cran-comments.md | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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