Skip to content

Latest commit

 

History

History
115 lines (58 loc) · 4.53 KB

NEWS.md

File metadata and controls

115 lines (58 loc) · 4.53 KB

bstfun (development version)

bstfun 0.2.7

  • Added new function add_sparkline()--a wrapper for gtExtras::gt_sparkline() that adds distributional figures in a new column of a 'tbl_summary' table.

  • Updated default argument value: as_forest_plot(xlog = x$inputs$exponentiate).

bstfun 0.2.6

  • Deprecated tbl_2way_summary() in favor of gtsummary::tbl_continous().

  • Cleaning up functions that have been deprecated.

  • Removing old {gtsummary} "core" code that had been copied into the package.

bstfun 0.2.5

  • Deprecated bstfun::tbl_split(), bstfun::gts_add_p_footnote(), and bstfun::gtsummary_butcher() in lieu of gtsummary::tbl_split(), gtsummary::separate_p_footnote(), and gtsummary::tbl_butcher().

  • Removed {tidyselect} dependency.

  • Added new function as_forest_plot() that converts a gtsummary table into a forest plot using forestplot::forestplot().

  • Added new function add_cuminc_risktable() to plot cumulative incidence estimates with both the at-risk table and the estimates printed below the table.

  • Updated Rmd files in project template to use user's custom gtsummary theme if it exists within bstfun::theme_gtsummary_msk(), matching the system login name to the name in bstfun::theme_gtsummary_msk()

  • Adding new function use_bst_rstudio_prefs()

  • Added new functions tbl_likert() and add_n.tbl_likert() for summarizing likert-scale data. (#53)

bstfun 0.2.4

  • Updated the references file in the {bstfun} project template.

  • Exporting get_data_date() function used in here_data()

  • Bug fix in path_data() where getOption("path_data") was not correctly being imported. The arguments of path_data() have been re-arranged.

bstfun 0.2.3

  • Update to here_data() to import the data date properly when the date is not followed by a hard return. (#42)

bstfun 0.2.2

  • Added function cite_r() to assist in citing R and R packages in R markdown reports.

  • Updated default project template to include references in report.Rmd.

  • Added function use_varnames_as_labels() to assign title case (or all CAP) labels from the column names of a data frame.

  • Switched {starter} dependency from GitHub to CRAN.

  • Bug fix in tbl_2way_summary(). Now forcing the continuous variable to be summarized continuously.

  • Added path_data() function.

bstfun 0.2.1

  • Updates to project templates.

bstfun 0.2.0

  • Added new function create_bst_project(), a wrapper for starter::create_project() that drops a copy of the Biostatistics project template into a new or existing folder. The function defaults to the Biostatistics template, but any template may be passed.

  • Added new functions use_bst_file(), use_bst_gitignore(), and use_bst_readme() to drop files from the HOT template into the active project.

  • Migrated the Biostatistics template from the biostatR package (behind a firewall) to the bstfun package.

  • Added function gtsummary_butcher() to reduce the size of a gtsummary table. After an object has been butchered, other gtsummary functions may not be able to execute on the object.

bstfun 0.1.6

  • Added here_data(path_to_data_date=) argument to specify location of data date file.

  • Adding add_inline_forest_plot() function to add forest plots to gtsummary tables. (#27)

bstfun 0.1.5

  • Updated gts_add_p_footnotes() to maintain 'gtsummary' class, where previously the table was converted to gt or flextable.

  • Added tbl_2way_summary() function.

  • Deprecated tbl_ancova() in favor of gtsummary::add_difference().

bstfun 0.1.4

  • Added hpcc_get_arg() and hpcc_get_seq_number() functions to aid working with the high performance computing cluster. (#19)

  • Added as_ggplot() function to convert gt and gtsummary tables to ggplot

  • Added tbl_split() function to actively split a gtsummary table to more easily show on multiple pages.

  • Added "leej" theme to theme_gtsummary_msk()

bstfun 0.1.3

  • Added new function style_tbl_compact() that makes the compact styling available in gtsummary::theme_gtsummary_compact() to any {gt}, {flextable}, {huxtable}, or knitr::kable() table.

bstfun 0.1.2

  • Added new function gts_add_p_footnotes()

  • Added new themes to theme_gtsummary_msk()

bstfun 0.1.1

  • Added the theme_gtsummary_msk() function. This is a place for any member of the MSK community to add their person gtsummary theme.

  • Added the here_data() function. Similar to here::here() which returns your project directory, here_data() returns the path to your current data folder based on the date in data_date.txt.

bstfun 0.1.0

  • First release