bcgov / shinywqg

A Shiny app for the water quality guideline (WQG) website
Other
7 stars 2 forks source link

Error in test report #55

Closed joethorley closed 4 years ago

joethorley commented 4 years ago

I'm getting the following error with a local check

> test_check("shinywqg")
── 1. Error: report renders (@test-report.R
unused arguments (footnotes.font.size = gt::px(13), footnotes.padding = gt::px(10), row_group.padding = gt::px(18), heading.title.font.weight = "bold")
Backtrace:
  1. shinywqg:::gt_table(x, cvalues)
  2. gt::tab_header(., title = variable, subtitle = gt::html(cvalues))
  2. gt::fmt_missing(., columns = gt::everything())
  2. gt::cols_align(., align = "center", columns = gt::everything())
  2. gt::tab_style(...)
  2. gt::tab_style(., style = gt::cell_text(size = gt::px(12)), locations = list(gt::cells_data(columns = gt::matches("Notes|Links|Narrative"))))
  2. gt::fmt_markdown(., columns = dplyr::contains("Links"))
  2. gt::tab_style(., style = gt::cell_text(weight = "bold"), locations = list(gt::cells_title(groups = "title")))
  2. gt::tab_style(., style = gt::cell_text(style = "italic"), locations = list(gt::cells_group(groups = TRUE)))
 10. gt::tab_options(...)
sebdalgarno commented 4 years ago

fixed