Skip to content

pharmaRTF

Enhanced RTF Wrapper for Use with Existing Table Packages

v0.1.4 · Sep 28, 2021 · MIT + file LICENSE

Description

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.

Downloads

CRAN

543

Last 30 days

7007th

1.7K

Last 90 days

8K

Last year

Trend: -7.2% (30d vs prior 30d)

r2u CRAN

3

Last 30 days

29

Last 90 days

106

Last year

Trend: -70% (30d vs prior 30d)

autoCRAN

4

Last 7 days

17

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

conda-forge CRAN

17

Last 30 days

79

Last 90 days

496

Last year

Trend: -59.5% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘advanced_usage.Rmd’ using rmarkdown

Quitting from advanced_usage.Rmd:12-20 [setup]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error i
...[truncated]...
ackage called 'tidyverse'
--- failed re-building ‘tf_from_file.Rmd’

SUMMARY: processing the following files failed:
  ‘advanced_usage.Rmd’ ‘huxtable_tips.Rmd’ ‘pharmaRTF.Rmd’
  ‘tf_from_file.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

37,010

Files

109

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,617 (7.1%)Tests 1,403 (3.8%)Docs 1,185 (3.2%)Vignettes 31,805 (85.9%)

API

Exported functions

53

Internal functions

65

Recent export changes

v0.1.0+53 align<-, bold<-, column_header_buffer<- +50 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.54

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2020-05-25

Latest release

2021-09-28

Avg cadence

112 days

Cold removal rate

Dep drift

1

LOC over versions

v0.1.0: 36,908 LOCv0.1.1: 36,973 LOCv0.1.2: 36,981 LOCv0.1.3: 36,981 LOCv0.1.4: 37,010 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies assertthat stringr purrr huxtable Tplyr pharmaRTF

Version History

6 tracked
new 0.1.4 Mar 10, 2026
updated 0.1.4 ← 0.1.3 diff Sep 27, 2021
updated 0.1.3 ← 0.1.2 diff May 26, 2021
updated 0.1.2 ← 0.1.1 diff Feb 16, 2021
updated 0.1.1 ← 0.1.0 diff Jun 17, 2020
new 0.1.0 May 24, 2020