Skip to content

Commit

Permalink
Missed "silent=TRUE"
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurdoch committed Apr 13, 2024
1 parent e952e8a commit b0ea906
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion R/tables_mform.R
Original file line number Diff line number Diff line change
Expand Up @@ -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"))

Expand Down
5 changes: 5 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b0ea906

Please sign in to comment.