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.7)pharmaRTF_0.1.4.zip(r-4.6)pharmaRTF_0.1.4.zip(r-4.5)
pharmaRTF_0.1.4.tgz(r-4.6-any)pharmaRTF_0.1.4.tgz(r-4.5-any)
pharmaRTF_0.1.4.tar.gz(r-4.7-any)pharmaRTF_0.1.4.tar.gz(r-4.6-any)
pharmaRTF_0.1.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
pharmaRTF/json (API)

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

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

On CRAN:

Conda:

7.27 score 34 stars 138 scripts 445 downloads 53 exports 24 dependencies

Last updated from:32ea691402. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK204
source / vignettesOK242
linux-release-x86_64OK207
macos-release-arm64OK92
macos-oldrel-arm64OK138
windows-develOK124
windows-releaseOK94
windows-oldrelOK111
wasm-releaseOK159

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

Sourcing Titles and Footnotes From External Files
Working pharmaRTF Into Your Process | A Small Note | How It Works | Custom Reader Functions | Putting It Together | Further Reading

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

Advanced Usage of pharmaRTF
Introduction | A Small Note | Understanding Document Orientation Within pharmaRTF | Multi-level Column Headers | Minimizing Cell Padding | Setting Spacing Between Column Headers and Titles | Split Titles | Special Title/Footnote Formats | PAGE_FORMAT: | DATE_FORMAT: | FILE_PATH: | Further Reading

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

Huxtable Tips
Notes | Introduction | A Small Note | Huxtable Basics | Changing Table Shape | Column Headers | Cell Formatting | Cell Merging | Some Final Notes | Further Reading

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

pharmaRTF
Version 0.1.1 updates | What is pharmaRTF? | A Small Note | The Basics | Further Reading

Last update: 2020-09-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