Skip to content

Releases: zeehio/condformat

condformat 0.10.1

10 Oct 04:10
Compare
Choose a tag to compare

Maintenance:

  • Fix theme_grob() documentation
  • Updated URLs
  • Register internal S3 methods
  • Minor documentation formatting

condformat 0.10.0

26 Nov 11:25
Compare
Choose a tag to compare

New features

  • condformat2grob() function takes an optional draw=TRUE parameter which
    controls whether the grob is immediately drawn during the function call.
    draw=FALSE allows easier use in composite figures with
    gridExtra::grid.arrange() or ggpubr::ggarrange() (@interzoneboy, #31)

Other

  • Replace tidyselect::vars_select() (questioning) with tidyselect::eval_select()
  • Avoid drawing plots on tests, use vdiffr instead.

condformat 0.9.0

14 May 20:09
Compare
Choose a tag to compare

Breaking changes

  • The lazyeval API deprecated on condformat 0.6 has been dropped, only the tidy evaluation
    API remains. This fixes dplyr 1.0.0 test failures.

New features

  • Excel output supports rule_text_bold and rule_text_color

Deprecation

  • space is ignored and deprecated in rule_fill_gradient and rule_fill_gradient2,
    following recent changes in the scales package. Please remove it if you are
    using it, as it will be removed in a future version

Other

  • Replace xlsx with openxlsx. This avoids pulling RJava as a suggested dependency
  • Warn if unsupported rule is used with Excel output
  • Fix warning due to rlang update
  • Change examples and tests so they don't open browser windows

condformat 0.8.0

29 Oct 14:22
Compare
Choose a tag to compare

condformat 0.8.0

New features:

  • rule_fill_bar (HTML, for now)
  • rule_text_bold (HTML, PDF)
  • rule_text_color (HTML, PDF)
  • theme_htmlWidget (HTML) Customize the number of entries and the widget size.
  • theme_kable (PDF) pass options to kable
  • theme_caption (HTML, PDF) Set a caption.
  • condformat2grob: Engine to render tables as graphics
  • Shiny: renderCondformat works with async promises (if htmlwidgets 1.3 is available)

Deprecations:

  • Deprecate: theme_htmlTable now only accepts arguments to be passed to
    htmlTable::htmlTable. Before, it could also be used to accept
    number_of_entries, width, height... to customize the widget appearence.
    For that use case, please use theme_htmlWidget instead.
  • Deprecate: condformat2widget will not accept arguments to customize the
    appearance of the widget. Use theme_htmlWidget instead.

Other

  • Replace dependency: Use grDevices instead of gplots
  • Depend on knitr 1.18: slidy and other rmarkdown formats are properly detected (#13)
  • Drop rJava from suggests (xlsx fix released)
  • Bump rlang dependency (parse_quosure -> parse_expr) (#18, Thanks to @lionel-
    for the advice and code review!)
  • Internal: More modular code. CSS tags to LaTeX conversion is based on
    S3 methods so new rules don't need to touch the code for LaTeX export.

condformat 0.7.0

20 Oct 16:52
Compare
Choose a tag to compare
  • Add a new condformat API, that is based on tidy evaluation principles and
    leverages on rlang and tidyselect. The old API is still fully functional but
    deprecated.
  • Add a rule_css to let the user specify arbitrary CSS fields. For this rule
    there is no support for PDF or Excel output.
  • Improve condformat2excel to export to a specific Excel sheet (#11)
  • Fix condformat2latex and add regression test (#9)
  • Fix rescale and rescale_mid calls (recent scales use a S3 generic, so we need
    to import it)

v0.2.0

10 Mar 14:40
Compare
Choose a tag to compare
  • First CRAN submission install.packages("condformat")
  • Add theme_htmlTable to pass custom formatting options to htmlTable.
  • Improve knitr compatibility

v0.1.1.9001

25 May 09:16
Compare
Choose a tag to compare
v0.1.1.9001 Pre-release
Pre-release
  • Bugfix in rule_discrete_scale.
  • Improved code coverage in tests.

v0.1.1.9000

24 May 22:16
Compare
Choose a tag to compare
v0.1.1.9000 Pre-release
Pre-release
  • Uses Non Standard Evaluation.
  • dplyr filtering and select style expression.
  • ggplot-like syntax.
  • Conditional formatting rules:
    • rule_fill_discrete
    • rule_fill_gradient
    • rule_fill_gradient2
    • show_columns
    • show_rows

v0.1.1

21 May 23:38
Compare
Choose a tag to compare
v0.1.1 Pre-release
Pre-release

Change to a ggplot-like syntax