Skip to content

pmparser

1.0.26Package record

Create and Maintain a Relational Database of Data from PubMed/MEDLINE

0packages depend
4.3Kdownloads / year
80.0%test coverage
12/13flavors OK

Overview

About

Provides a simple interface for extracting various elements from the publicly available PubMed XML files, incorporating PubMed's regular updates, and combining the data with the NIH Open Citation Collection. See Schoenbachler and Hughey (2021) doi:10.7717/peerj.11071.

Changes in 1.0.26
  • Deal with inconsistent file name for NIH Open Citation Collection.

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORtestsr-release-windows-x86_64
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pmparser)
  > 
  > test_check('pmparser')
  Saving _problems/test_modify_pubmed_db_dup-53.R
  Saving _problems/test_modify_pubmed_db_dup-69.R
  Saving _problems/test_modify_pubmed_db_std-24.R
  Saving _problems/test_modify_pubmed_db_std-44.R
  [ FAIL 4 | WARN 4 | SKIP 4 | PASS 67 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_get_citation.R:4:3', 'test_get_citation.R:13:3',
    'test_get_pubmed_files.R:7:3', 'test_get_pubmed_files.R:20:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_modify_pubmed_db_dup.R:51:3'): modifyPubmedDb create is unique ──
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/collections/4586573/articles'
  Backtrace:
       ▆
    1. └─pmparser::modifyPubmedDb(...) at test
...[truncated]...
      └─base::open.connection(con, "rb")
  ── Error ('test_modify_pubmed_db_std.R:42:3'): modifyPubmedDb update matches standard ──
  Error in `open.connection(con, "rb")`: cannot open the connection to 'https://api.figshare.com/v2/collections/4586573/articles'
  Backtrace:
       ▆
    1. └─pmparser::modifyPubmedDb(...) at test_modify_pubmed_db_std.R:42:3
    2.   └─pmparser::getCitation(...)
    3.     └─pmparser:::getCitationInfo()
    4.       ├─data.table::data.table(jsonlite::fromJSON(iciteUrl))
    5.       └─jsonlite::fromJSON(iciteUrl)
    6.         └─jsonlite:::parse_and_simplify(...)
    7.           └─jsonlite:::parseJSON(txt, bigint_as_char)
    8.             └─jsonlite:::parse_con(txt, bigint_as_char)
    9.               ├─base::open(con, "rb")
   10.               └─base::open.connection(con, "rb")
  
  [ FAIL 4 | WARN 4 | SKIP 4 | PASS 67 ]
  Error:
  ! Test failures.
  Warning message:
  call dbDisconnect() when finished working with a connection 
  Execution halted

CRAN check page ↗

Slowest check: 2.0 min · r-oldrel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERROR2026-10-20
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-20
  • ERROR12 OK, 1 ERROR2026-07-19
Show 6 earlier changesHide 6 earlier changes
  • OK13 OK2026-06-07
  • ERROR12 OK, 1 ERROR2026-05-12
  • OK13 OK2026-05-10
  • WARNING12 OK, 1 WARNING2026-05-09
  • OK14 OK2026-03-12
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 1.0.26
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.26Citation fileNoWebsiteYes · pkgdown
Help pages
4
Examples that run
50%2 run in a plain check · 2 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

4.3K
CRAN downloads in the past year
Rank #7,285 · ~12/day · ~357/mo
Daily download trend is not available in this view yet.
48430 days
1.2K90 days
4.3K1 year
Compare downloads with other packages →
Also on109 r2u7 autocran

Repository

19Stars
2Forks
2Open issues
0Open PRs
2Releases
384Commits
4Commit identities
384 commits · Last activity 2026-06-01 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-05-08 · 172026-07-07 · 19
PracticesBeta

8 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/hugheylab/pmparser on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (2)
pkgdown

GitHub Pages site last deployed 2020-08-24

pkgdown site last built 2026-06-01, before release 1.0.26 (2026-06-02)

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 2 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing pmparser adds 16 packages (9 with compiled code, 12 MB of source tarballs). Heaviest: data.table 5.7 MB, jsonlite 1.0 MB, rlang 766 KB.

Depends (1)
R >= 3.6
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer since 1.0.4 (2022)
Releases (15)

Pick two releases to compare their code metrics.

Show 7 earlier eventsHide 7 earlier events
  • 1.0.13
    record
    2022-11-24 · diff ↗ ·
    added 1 export
    parseOther
  • archivedRemoved from CRAN
    2022-11-22
    policy violation On Internet access
  • 1.0.11
    record
    2022-11-08 · diff ↗
  • 1.0.10
    record
    2022-04-28 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.4
    record
    2022-02-17
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-02-17
Total releases
15 / 4 yrs
License
GPL-2 OSI
Minimum R
≥ 3.6
Download size
650 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pmparser")
Hughey, J., Outland, E., & Schoenbachler, J. (2026). pmparser: Create and Maintain a Relational Database of Data from PubMed/MEDLINE (Version 1.0.26) [Computer software]. https://doi.org/10.32614/CRAN.package.pmparser

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for pmparser version 1.0.26 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy