Skip to content

DSIR

Data Science Infrastructure for Global Health

v0.7.1 · May 23, 2026 · MIT + file LICENSE

Description

Supports global health data analysis, including a publication-ready 'ggplot2' theme, a 'flextable' defaults helper, a thin pie chart wrapper, built-in regional country-code datasets with a WHO region lookup helper, a geometric mean function for indicator aggregation, and convenience clients for the World Health Organization Global Health Observatory (GHO) OData API <https://ghoapi.azureedge.net/api/> and the United Nations Sustainable Development Goals (SDG) API <https://unstats.un.org/SDGAPI/swagger/>.

Downloads

467

Last 30 days

8903rd

1.2K

Last 90 days

1.2K

Last year

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

CRAN Check Status

2 ERROR
11 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 ERROR
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 details (2 non-OK)
ERROR r-devel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'DSIR.Rmd' using rmarkdown

Quitting from DSIR.Rmd:269-283 [unnamed-chunk-16]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `combine_vars()`:
! Faceting variables must have at least one value.
---
Backtrace:
     ▆
  1. ├─base::withVisible(knit_print(x, ...))
  2. ├─knitr::knit_print(x, ...)
  3. └─knitr:::knit_print.default(x, ...)
  4.   └─knitr::normal_print(x)
  5.     ├─base::print(x)
  6.     └─ggplot2 (local) `print.ggplot2::ggplot`(x)
  7.       ├─ggplot2::ggplot_build(x)
  8.       └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
  9.         └─layout$setup(data, plot@data, plot@plot_env)
 10.           └─ggplot2 (local) setup(..., self = self)
 11.             └─self$facet$compute_layout(data, self$facet_params)
 12.               └─ggplot2 (local) compute_layout(..., self = self)
 13.                 └─ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'DSIR.Rmd' failed with diagnostics:
Faceting variables must have at least one value.
--- failed re-building 'DSIR.Rmd'

SUMMARY: processing the following file failed:
  'DSIR.Rmd'

Error: Vignette re-building failed.
Execution halted
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'DSIR.Rmd' using rmarkdown

Quitting from DSIR.Rmd:269-283 [unnamed-chunk-16]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `combine_vars()`:
! Faceting variables must have at least one value.
---
Backtrace:
     ▆
  1. ├─base::withVisible(knit_print(x, ...))
  2. ├─knitr::knit_print(x, ...)
  3. └─knitr:::knit_print.default(x, ...)
  4.   └─knitr::normal_print(x)
  5.     ├─base::print(x)
  6.     └─ggplot2 (local) `print.ggplot2::ggplot`(x)
  7.       ├─ggplot2::ggplot_build(x)
  8.       └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x)
  9.         └─layout$setup(data, plot@data, plot@plot_env)
 10.           └─ggplot2 (local) setup(..., self = self)
 11.             └─self$facet$compute_layout(data, self$facet_params)
 12.               └─ggplot2 (local) compute_layout(..., self = self)
 13.                 └─ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'DSIR.Rmd' failed with diagnostics:
Faceting variables must have at least one value.
--- failed re-building 'DSIR.Rmd'

SUMMARY: processing the following file failed:
  'DSIR.Rmd'

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 25, 2026
ERROR r-devel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'DSIR.Rmd' using rmarkdown

Quitting from DSIR.Rmd:269-283 [unnamed-chunk-16]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `combine_va
...[truncated]...
cessing vignette 'DSIR.Rmd' failed with diagnostics:
Faceting variables must have at least one value.
--- failed re-building 'DSIR.Rmd'

SUMMARY: processing the following file failed:
  'DSIR.Rmd'

Error: Vignette re-building failed.
Execution halted
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

package dependencies

Package required but not available: ‘flextable’

Package suggested but not available for checking: ‘officer’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026

Dependency Network

Dependencies Reverse dependencies cli flextable ggplot2 httr2 rlang tibble DSIR

Version History

3 tracked
updated 0.7.1 ← 0.7.0 diff May 23, 2026
updated 0.7.0 ← 0.2.0 diff May 21, 2026
new 0.2.0 Apr 21, 2026