Skip to content

dpdr

Interface to Health Canada Drug Product Database API

v0.1.0 · Mar 2, 2026 · MIT + file LICENSE

Description

A programmatic interface to Health Canada's Drug Product Database (DPD) REST API for querying information about drugs approved for use in Canada. More information on the DPD can be found in the API guide (<https://health-products.canada.ca/api/documentation/dpd-documentation-en.html>).

Downloads

294

Last 30 days

13896th

354

Last 90 days

354

Last year

Trend: +390% (30d vs prior 30d)

CRAN Check Status

1 ERROR
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 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 details (1 non-OK)
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘dpdr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dpd_active_ingredient
> ### Title: Active Ingredient
> ### Aliases: dpd_active_ingredient
> 
> ### ** Examples
> 
> dpd_active_ingredient(id = 48905)
Error in httr2::resp_body_html(resp) : The package "xml2" is required.
Calls: dpd_active_ingredient ... process_dpd_response -> <Anonymous> -> check_installed
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 6, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘dpdr-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: dpd_active_ingredient
> ### Title: Active Ingredient
> ### Aliases: dpd_active_ingredient
> 
> ### ** Examples
> 
> dpd_active_ingredient(id = 48905)
Error in httr2::resp_body_html(resp) : The package "xml2" is required.
Calls: dpd_active_ingredient ... process_dpd_response -> <Anonymous> -> check_installed
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies glue httr2 jsonlite memoise rlang tibble dpdr

Version History

new 0.1.0 Mar 10, 2026