Specifications
Specification Name
|
Last updated by
|
Last updated date
|
specification.Rmd
|
Ashley Tarasiewicz
|
2020-06-16
|
Test case
Test Case Name
|
Last updated by
|
Last updated date
|
test_cases.Rmd
|
Ashley Tarasiewicz
|
2020-06-16
|
Test code
Test Code Name
|
Last updated by
|
Last updated date
|
test_cases.R
|
Ashley Tarasiewicz
|
2020-06-16
|
Validation Results
Specifications
- A: The RTF written out to a file can be opened in Microsoft Word
- B: Paging of the table works appropriately
- C: Changes to document level margins are reflected in the output document
- D: Changes to document level header and footer height are reflected in the output document
- E: Changes to document level page size are reflected in the output document
- F: Changes to document level orientation are reflected in the output document
- G: Changes to document level default font size are reflected in the output document
- H: Changes to document level default font are reflected in the output document
- I: Changes to document level header rows are reflected in the output document
- J: Changes to document level column header buffer are reflected in the output document
- K: Changes to document level ignore cell padding are reflected in the output document
- L: Titles and footnotes can be manually entered in the RTF document creation
- M: Titles and footnotes can be manually entered using add_titles/add_footnotes
- N: Titles and footnotes can be manually entered importing from a separate file using a reader
- O: PAGE_FORMAT for titles and footnotes works properly
- P: DATE_FORMAT for titles and footnotes works properly
- Q: FILE_PATH for titles and footnotes works properly
- R: Bold titles/footnotes attributes update correctly when specified
- S: Italic titles/footnotes attributes update correctly when specified
- T: Align titles/footnotes attributes update correctly when specified, i.e. split titles/footnotes flush left and right as expected
- U: Font titles/footnotes attributes update correctly when specified
- V: Font size titles/footnotes attributes update correctly when specified
- W: Index titles/footnotes attributes update correctly when specified, i.e. specified indices sort appropriately when entered in separte orders, NULL indices sort last
- X: View functions (i.e. view_titles and view_footnotes) render data frames appropriately
- Y: Updates to huxtable table bold table level property is properly formatted in the resulting RTF
- Z: Updates to huxtable table italic table level property is properly formatted in the resulting RTF
- AA: Updates to huxtable table alignment (center, left, right) table level property is properly formatted in the resulting RTF
- AB: Updates to huxtable table vertical alignment (center, top, bottom) table level property is properly formatted in the resulting RTF
- AC: Updates to huxtable table table width table level property is properly formatted in the resulting RTF
- AD: Updates to huxtable table column width table level property is properly formatted in the resulting RTF
- AE: Updates to huxtable table row height table level property is properly formatted in the resulting RTF
- AF: Updates to huxtable table cell merging table level property is properly formatted in the resulting RTF
- AG: When the header_rows attribute is 0, the column headers write to the RTF body instead of the document header
Test Cases
This section contains details of each test executed. Checks verifying each test are included as sub-bullets of their associated test.
R version 4.4.1 (2024-06-14) Platform: x86_64-pc-linux-gnu Running under: Ubuntu 22.04.5 LTS
Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
locale: [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
time zone: Etc/UTC tzcode source: system (glibc)
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] readxl_1.4.5 lubridate_1.9.4 forcats_1.0.0 readr_2.1.5
[5] tidyr_1.3.1 tibble_3.3.0 ggplot2_3.5.2 tidyverse_2.0.0 [9] huxtable_5.6.0 pharmaRTF_0.1.4 purrr_1.0.4 stringr_1.5.1
[13] kableExtra_1.4.0 knitr_1.50 testthat_3.2.3 dplyr_1.1.4
[17] plyr_1.8.9
loaded via a namespace (and not attached): [1] sass_0.4.10 generics_0.1.4 xml2_1.3.8 stringi_1.8.7
[5] hms_1.1.3 digest_0.6.37 magrittr_2.0.3 grid_4.4.1
[9] evaluate_1.0.3 timechange_0.3.0 RColorBrewer_1.1-3 pkgload_1.4.0
[13] fastmap_1.2.0 cellranger_1.1.0 rprojroot_2.0.4 jsonlite_2.0.0
[17] brio_1.1.5 viridisLite_0.4.2 scales_1.4.0 textshaping_1.0.1 [21] jquerylib_0.1.4 cli_3.6.5 crayon_1.5.3 rlang_1.1.6
[25] withr_3.0.2 cachem_1.1.0 yaml_2.3.10 tools_4.4.1
[29] tzdb_0.5.0 assertthat_0.2.1 vctrs_0.6.5 R6_2.6.1
[33] lifecycle_1.0.4 fs_1.6.6 htmlwidgets_1.6.4 ragg_1.4.0
[37] waldo_0.6.1 pkgconfig_2.0.3 desc_1.4.3 gtable_0.3.6
[41] pkgdown_2.1.3 pillar_1.10.2 bslib_0.9.0 glue_1.8.0
[45] Rcpp_1.0.14 systemfonts_1.2.3 xfun_0.52 tidyselect_1.2.1
[49] rstudioapi_0.17.1 farver_2.1.2 htmltools_0.5.8.1 rmarkdown_2.29
[53] svglite_2.2.1 compiler_4.4.1
Manual Check Completion History