R Observatory
Search
install.packages("archive")
CRAN 30-day downloads, method
10,742−8.6% down on the 30 days before, the worse direction
Test coverage, method
83%of lines run by tests

Bindings to 'libarchive' <http://www.libarchive.org> the Multi-format archive and compression library. Offers R connections and direct extraction for many archive formats including 'tar', 'ZIP', '7-zip', 'RAR', 'CAB' and compression formats including 'gzip', 'bzip2', 'compress', 'lzma' and 'xz'.

Maintainer
Gábor Csárdi
Latest release
30 Jul 2026
First release
30 Jun 2021

Compare with another package

More details
Releases
19
Needs compilation
Yes
Needs R
>= 4.0.0
Config/Needs/website
tidyverse/tidytemplate
RoxygenNote
7.2.1.9000
SystemRequirements
libarchive: libarchive-dev (deb), libarchive-devel (rpm), libarchive (homebrew), libarchive_dev (csw)
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("archive")
APA
Csárdi, G., RStudio, Hester, J., & Holy, O. (2026). archive: Multi-Format Archive and Compression Support (Version 1.1.14) [Computer software]. https://doi.org/10.32614/CRAN.package.archive
About

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

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 archive version 1.1.14 [Data set]. HJJB, LLC. Data release v2026-10-29. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-29, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.1.14
    Time taken
    75 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.1.14
    Time taken
    57 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.1.14
    Time taken
    52 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.1.14
    Time taken
    52 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    219 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.1.14
    Time taken
    22 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    146 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    178 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    65 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    66 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.1.14
    Time taken
    18 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    90 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.1.14
    Time taken
    153 s
  • 13 OK

Over time

No change since 6 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
6 Aug 2026OK13000
7 Jul 2026Error12001
2 May 2026OK13000
25 Apr 2026Error11001
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
13,969−3.4% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and conda-forge.

CRAN rank

1,101 of 26,553

CRAN

10,742 downloads in the last 30 days

Rank
1,101 of 26,553
Change
−8.6% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1,764 downloads in the last 30 days

Rank
658 of 30,526
Change
+81.3% up on the 30 days before, the better direction

It is in the total. Take it out

conda-forge

1,463 downloads in the last 30 days

Rank
810 of 3,828
Change
−15.3% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
4
Dependent packages
15
Suggested by
10
Needs (4)
Installing it adds
10 packages, 4.0 MB of source
Of those, need compilation
7
Optional extras (1)
Dependent packages (15)
PackageTitleDownloads in 30 days
qualtRicsDownload 'Qualtrics' Survey Data3,344
shinyliveRun 'shiny' Applications in the Browser1,506
climateInterface to Download Meteorological (and Hydrological) Datasets1,279
wdparInterface to the World Database on Protected Areas713
amadeusAccessing and Analyzing Large-Scale Environmental Data589
RALSAR Analyzer for Large-Scale Assessments548
flightsbrDownload Flight and Airport Data from Brazil483
cagedrAccess Novo CAGED Microdata from the Brazilian Ministry of Labour475
raisrAccess 'RAIS' Microdata from the Brazilian Ministry of Labour449
geoidepDownload Geographic Data on Various Topics Provided and Managed by the Spatial Data Infrastructure of Peru435
tidymediaMedia File Preprocessing and Metadata for the 'tidyverse'380
datacagedCAGED Microdata Download and Storage in 'DuckDB'373
CimpleGA Method to Identify Single CpG Sites for Classification and Deconvolution322
shinystateCustomization of Shiny Bookmarkable State199
lobsteRAccess and Process 'LOBSTER' High-Frequency Data170
Functions
581
Public exports
8
Lines of R code
601
Median complexity
1
Functions (581)
Size and composition

Lines by kind (16,081)

KindLinesShare
R code6014%
Tests7885%
Documentation4893%
Compiled code14,20388%

Lines by language

LanguageLinesShare
C8,70554%
C++5,49834%
R1,3799%
Rd4893%
Other100.1%

Languages are counted from file extensions.

Files
85
R functions
45
Compiled functions
782
Complexity
Median
1
Mean
1.76
Highest
7
Median lines per function
4
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
45
Calls
56
Unconnected
6
Groups
4
Growth (19 releases)
Total lines by release
2,595 on 30 Jun 202116,081 on 30 Jul 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
83.5%
Expressions run by tests
83.4%
Test cases
49
Exports named in tests
100%
Coverage by file (10)
Coverage run
Lines counted
182
Lines the tests ran
134
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
49
Lines of tests
788
Test lines per line of code
1.31
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
100%
Other documentation
README
Yes, 180 words
Release notes file
Yes
Help pages
6
Lines of documentation
489

Funded by RStudio

r-lib / archive on github.com

Stars
148no change on 30 days ago
Forks
18
Open issues
12
Last commit
23 Oct 2026
Activity
Commits
446
Open pull requests
3
Tagged releases
16
Latest tagged release
v1.1.14, 31 Jul 2026
In development
Default branch at 1.1.14.9000, ahead of CRAN 1.1.14 (checked 2026-10-25)
Issues closed in
4 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
81%
Created
7 Mar 2017
Licence file reads as
–
Development practices (11)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-10-23
The repository has a site deploy workflow
pkgdown site last built 2026-07-31
CoverageCoverage reporting (Codecov), .covrignore
CRAN release processcran-comments.md
Lint, format, editorRStudio project
Git structural.gitattributes

Method, repository practices

Across r-lib

R releases
  • On CRAN
  • Facing archival
  • Release
VersionReleasedREvents
1.1.14 current30 Jul 20264.6.1Fix due 30 Jul 2026
The checks were fixed and the deadline was lifted.
1.1.1312 Apr 20264.5.3
1.1.12.124 Dec 20254.5.2
1.1.1221 Mar 20254.4.3
1.1.115 Feb 20254.4.2
1.1.108 Nov 20244.4.2
1.1.912 Sep 20244.4.1
1.1.828 Apr 20244.4.0
Earlier versions (11)
VersionReleasedREvents
1.1.711 Dec 20234.3.2
1.1.618 Sep 20234.3.1
1.1.56 May 20224.2.0
1.1.430 Jan 20224.1.2
1.1.330 Nov 20214.1.2Maintainer: Gábor Csárdi
1.1.225 Oct 20214.1.1
1.1.113 Oct 20214.1.1
1.1.05 Aug 20214.1.0
1.0.216 Jul 20214.1.0
1.0.19 Jul 20214.1.0
1.0.030 Jun 20214.1.0
Release notes (1.1.14)
  • archive_write() and friends can now write the "pax" (POSIX pax interchange), "ustar", and "gnutar" tar formats via the format argument. Note that the existing "tar" format already writes the pax-restricted variant (#4).
  • Errors raised while opening or reading an archive connection (e.g. reading a file that does not exist) are now reported as regular R errors instead of crashing the R session.
  • Filters that libarchive handles via an external helper program (e.g. lzop) no longer error out; they now emit a message and continue.