Incorporates changes requested for acceptance intohttps://ropensci.org/.
expression parameter ofalert_custom()replacesfunction_callitem_order parameter ofoutputspec() cannow handle an arbitrary number of itemstimepoint_limits parameter for alerts and bespokereports now automatically adjusts user-supplied values to align with thedata andtimepoint_unit where necessary, instead ofinserting inappropriate additional timepoints in plotsInclude bespoke reports functionality.
Lightweight initial CRAN submission. Only includes standard(non-bespoke) reports.
file parameter inmantis_report()replacessave_directory andsave_filename(#24)add_timestamp parameter inmantis_report() adds a timestamp to the supplied file name(#24)tempdir() instead of the working directorywhere possible (#24)timepoint_unit parameter ofinputspec()replacesperiodinputspec() object now takes aitem_colsparameter, allowing more than one column in the df to define individualtime series, and must include the column being used for tabs (ifany).alertspec() object adds additional output optionsand wrapsalert_rules() where relevantitems parameter of alert rules now takes a named listof itemsitem_labels parameter ofoutputspec_interactive() replacesitem_labeland now takes a named vector of labelsitem_order parameter ofoutputspec() nowtakes a named list of items, and allows ordering of tabsbespoke_rmd_output() replacesbespoke_rmd_tab_group() andbespoke_rmd_tab_item()bespoke_rmd_alert_results() function creates atable containing the alert results for bespoke reportsPre-release. Expect breaking changes to functions in the future.
Complete list of functions exported:
alert_above()alert_below()alert_custom()alert_difference_above_perc()alert_difference_below_perc()alert_equals()alert_missing()alert_rules()bespoke_rmd_initialise_widgets()bespoke_rmd_tab_group()bespoke_rmd_tab_item()inputspec()mantis_alerts()mantis_report()outputspec_interactive()outputspec_static_heatmap()outputspec_static_multipanel()