v0.0.8
quartify 0.0.8
CRAN Submission Fixes
-
Documentation Compliance:
- Added 'Quarto' in single quotes in DESCRIPTION per CRAN policy
- Added
@returndocumentation for all exported functions (rtoqmd_addin,quartify_app,quartify_app_web) - Changed
\dontrun{}to\donttest{}for executable examples inrtoqmd()andrtoqmd_dir() - Updated all examples to write to
tempdir()instead of current directory
-
Code Quality:
- Replaced
cat()calls withmessage()for user-facing messages per CRAN guidelines - Fixed partial argument matching: changed all
renderarguments torender_htmlin Shiny apps - Fixed ERROR in R CMD check: changed non-executable example in
rtoqmd_dir()back to\dontrun{}
- Replaced
-
User Interface Improvements:
- Integrated shinyalert package for better user notifications
- Replaced
showNotification()with elegant modal dialogs usingshinyalert() - Success and error messages now displayed in centered modal windows
- Bilingual support: titles and messages adapt to selected language (EN/FR)
- Added
shinyalertto package dependencies
New Features
-
Code Quality Integration: New
use_styleranduse_lintrparameters for code quality checks:use_styler: Automatically format code using styler and show differences in tabsetsuse_lintr: Run lintr quality checks and display issues in tabsets- Available in both
rtoqmd()andrtoqmd_dir()functions - Tabsets show Original Code, Styled Code (if changes), and Lint Issues (if found)
- Only creates tabsets when there are actual issues or changes to report
- Example file:
inst/examples/example_code_quality.R
-
RStudio Snippets Installation: New
install_quartify_snippets()function to automatically install useful snippets:header: R script header template with Title, Author, Date, Descriptioncallout: Quarto callout structuremermaid: Mermaid diagram chunk with optionstabset: Tabset structure with tabs
Bug Fixes
- Fixed
rtoqmd_addin()error when no document is active or unsaved (handled NULL/empty path cases)
Documentation
- Updated vignettes to reference
install_quartify_snippets()function - Simplified tabset examples (removed "Data Structure" and "First Rows" tabs)
- Added snippet tips for callouts, mermaid diagrams, and tabsets in both English and French vignettes
Full Changelog: v0.0.7...v0.0.8