- Change dplyr::n() to dplyr::row_number() for compatibility with dplyr 1.0.0 to correct errors identified in the CRAN package check results
- Checked package is compatible with R 4.0.0
- Update canonical CRAN URLs
- Submitted to CRAN
- Add CRAN check badge
- Add dependency badge
Edited vignette to accommodate deprecated function align_pander()
. Help pages for deprecated functions are available by running help("docxtools-deprecated")
.
Edited function n()
as dplyr::n()
for compatibility with dplyr release 0.8.0
This update removes the dependency on CRAN package pander, now scheduled for archival on 2018–07–19.
Deprecated
align_pander()
deprecated, suggest using knitr::kable()
instead
Minor improvements
- Switched pipe dependency from magrittr to dplyr
- Updated unit testing for compatibility with latest version of ggplot2
Bug fixes
In format_engr()
- Corrected an error caused by an incorrect use of
str_trunc()
.
- Variable types date, factor, ordered factor, and character are now correctly ignored by the formatting routine.
New features
In format_engr()
, added the ambig_0_adj
argument. An optional argument to reformat (or not) to address ambiguous trailing zeros.
Minor improvements
For format_engr()
- Replaced the formatting using
sprintf()
with formatC()
for better control of significant trailing zeros.
- Require the input to be a data frame.
- Require the significant digits vector to have length 1 or match the number of numeric variables.
- Replaced some code with tidy evaluation.
- Revised the vignettes and examples.
- Unit testing to provide 100% coverage.