Package: pharmaRTF 0.1.4

Michael Stackhouse

pharmaRTF: Enhanced RTF Wrapper for Use with Existing Table Packages

Enhanced RTF wrapper written in R for use with existing R tables packages such as 'Huxtable' or 'GT'. This package fills a gap where tables in certain packages can be written out to RTF, but cannot add certain metadata or features to the document that are required/expected in a report for a regulatory submission, such as multiple levels of titles and footnotes, making the document landscape, and controlling properties such as margins.

Authors:Eli Miller [aut], Ashley Tarasiewicz [aut], Michael Stackhouse [aut, cre], Atorus Research LLC [cph]

pharmaRTF_0.1.4.tar.gz
pharmaRTF_0.1.4.zip(r-4.5)pharmaRTF_0.1.4.zip(r-4.4)pharmaRTF_0.1.4.zip(r-4.3)
pharmaRTF_0.1.4.tgz(r-4.4-any)pharmaRTF_0.1.4.tgz(r-4.3-any)
pharmaRTF_0.1.4.tar.gz(r-4.5-noble)pharmaRTF_0.1.4.tar.gz(r-4.4-noble)
pharmaRTF_0.1.4.tgz(r-4.4-emscripten)pharmaRTF_0.1.4.tgz(r-4.3-emscripten)
pharmaRTF.pdf |pharmaRTF.html
pharmaRTF/json (API)
NEWS

# Install 'pharmaRTF' in R:
install.packages('pharmaRTF', repos = c('https://pharmaverse.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/atorus-research/pharmartf/issues

On CRAN:

8.01 score 33 stars 2 packages 128 scripts 383 downloads 53 exports 24 dependencies

Last updated 3 years agofrom:32ea691402. Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKOct 11 2024
R-4.5-winOKOct 11 2024
R-4.5-linuxOKOct 11 2024
R-4.4-winOKOct 11 2024
R-4.4-macOKOct 11 2024
R-4.3-winOKOct 11 2024
R-4.3-macOKOct 11 2024

Exports:add_footnotesadd_titlesalignalign<-boldbold<-column_header_buffercolumn_header_buffer<-fontfont_sizefont_size<-font<-footer_heightfooter_height<-header_heightheader_height<-header_rowsheader_rows<-hf_lineignore_cell_paddingignore_cell_padding<-indexindex<-italicitalic<-marginsmargins<-orientationorientation<-pagesizepagesize<-rtf_docset_alignset_boldset_column_header_bufferset_fontset_font_sizeset_footer_heightset_header_heightset_header_rowsset_ignore_cell_paddingset_indexset_italicset_marginsset_orientationset_pagesizeset_texttexttext<-titles_and_footnotes_from_dfview_footnotesview_titleswrite_rtf

Dependencies:assertthatbase64enccachemclicommonmarkdigestfansifastmapgenericsgluehtmltoolshuxtablelifecyclemagrittrmemoisepurrrR6rlangstringistringrtidyselectvctrswithrxml2

Advanced Usage of pharmaRTF

Rendered fromadvanced_usage.Rmdusingknitr::rmarkdownon Oct 11 2024.

Last update: 2021-02-16
Started: 2020-04-30

Huxtable Tips

Rendered fromhuxtable_tips.Rmdusingknitr::rmarkdownon Oct 11 2024.

Last update: 2020-09-08
Started: 2020-04-30

pharmaRTF

Rendered frompharmaRTF.Rmdusingknitr::rmarkdownon Oct 11 2024.

Last update: 2020-09-08
Started: 2020-04-30

Sourcing Titles and Footnotes From External Files

Rendered fromtf_from_file.Rmdusingknitr::rmarkdownon Oct 11 2024.

Last update: 2021-03-08
Started: 2020-04-30

Readme and manuals

Help Manual

Help pageTopics
pharmaRTFpharmaRTF-package pharmaRTF
Add 'hf_line' title(s) and footnote(s) to a 'rtf_doc' objectadd_footnotes add_titles
Return or set text alignmentalign align<- set_align
Return or set boldbold bold<- set_bold
Return or set column_header_buffer attributescolumn_header_buffer column_header_buffer<- set_column_header_buffer
Return or set fontfont font<- set_font
Return or set font sizefont_size font_size<- set_font_size
Return or set header/footer heightfooter_height footer_height<- header_height header_height<- set_footer_height set_header_height
Return or set the header_rowsheader_rows header_rows<- set_header_rows
Create a title line containerhf_line
Return or set ignore_cell_paddingignore_cell_padding ignore_cell_padding<- set_ignore_cell_padding
Return or set indexindex index<- set_index
Return or set italicsitalic italic<- set_italic
Return or set marginsmargins margins<- set_margins
Return or set orientationorientation orientation<- set_orientation
Return or set pagesizepagesize pagesize<- set_pagesize
Create a 'rtf_doc' objectrtf_doc
Return or set textset_text text text<-
Read titles and footnotes from a dataframetitles_and_footnotes_from_df
View footnote informationview_footnotes
View title informationview_titles
Write RTF documentwrite_rtf