hfhub: Hugging Face Hub Interface

Provides functionality to download and cache files from 'Hugging Face Hub' <https://huggingface.co/models>. Uses the same caching structure so files can be shared between different client libraries.

Version: 0.1.2
Imports: httr, filelock, fs, cli, withr, curl, glue, urltools, rlang
Suggests: testthat (≥ 3.0.0), jsonlite
Published: 2026-04-15
DOI: 10.32614/CRAN.package.hfhub
Author: Tomasz Kalinowski [ctb, cre], Daniel Falbel [aut], Christophe Regouby [ctb], Posit Software, PBC ROR ID [cph, fnd]
Maintainer: Tomasz Kalinowski <tomasz at posit.co>
BugReports: https://github.com/mlverse/hfhub/issues
License: MIT + file LICENSE
URL: https://mlverse.github.io/hfhub/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: hfhub results

Documentation:

Reference manual: hfhub.html , hfhub.pdf

Downloads:

Package source: hfhub_0.1.2.tar.gz
Windows binaries: r-devel: hfhub_0.1.1.zip, r-release: hfhub_0.1.2.zip, r-oldrel: hfhub_0.1.1.zip
macOS binaries: r-release (arm64): hfhub_0.1.1.tgz, r-oldrel (arm64): hfhub_0.1.1.tgz, r-release (x86_64): hfhub_0.1.1.tgz, r-oldrel (x86_64): hfhub_0.1.1.tgz
Old sources: hfhub archive

Reverse dependencies:

Reverse imports: whisper
Reverse suggests: tok

Linking:

Please use the canonical form https://CRAN.R-project.org/package=hfhub to link to this page.