R Observatory
Search
install.packages("bit")
CRAN checks, method
1 of 13platforms with problems
CRAN 30-day downloads, method
672K−5.4% down on the 30 days before, the worse direction
Test coverage, method
72%of lines run by tests

Provided are classes for boolean and skewed boolean vectors, fast boolean methods, fast unique and non-unique integer sorting, fast set operations on sorted and unsorted sets of integers, and foundations for ff (range index, compression, chunked processing).

Maintainer
Michael Chirico
Latest release
6 Mar 2025
First release
9 Oct 2008

Compare with another package

More details
Releases
26
Needs compilation
Yes
Needs R
>= 3.4.0
Config/testthat/edition
3
RoxygenNote
7.3.2
Collections (1) Method, Collections
  • BGData, installed by the BGData package
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("bit")
APA
Chirico, M., Oehlschlägel, J., & Ripley, B. (2025). bit: Classes and Methods for Fast Memory-Efficient Boolean Selections (Version 4.6.0) [Computer software]. https://doi.org/10.32614/CRAN.package.bit
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 bit version 4.6.0 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

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

1 of 13 check platforms have warnings or errors.

  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    Error

    Version checked
    4.6.0
    Time taken
    14 s

    whether package can be installed: Error

    Installation failed.

    Full output

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

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    4.6.0
    Time taken
    258 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    4.6.0
    Time taken
    193 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    4.6.0
    Time taken
    179 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    4.6.0
    Time taken
    191 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    4.6.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    4.6.0
    Time taken
    293 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    4.6.0
    Time taken
    389 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    4.6.0
    Time taken
    243 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    4.6.0
    Time taken
    240 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    4.6.0
    Time taken
    62 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    4.6.0
    Time taken
    279 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    4.6.0
    Time taken
    303 s
  • 1 Error
  • 12 OK
Check output (1)

whether package can be installed, Error on 1 platform

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.7/bit.Rcheck/00install.out' for details.

Over time

No change since 26 Oct 2026

As a list (8)
ChangedWorst statusOKNotesWarningsErrors
26 Oct 2026Error12001
25 Sep 2026OK13000
18 Sep 2026Error12001
1 Sep 2026OK13000
25 Aug 2026Error12001
5 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
917,016+6.1% up on the 30 days before, the better directionIt is the sum of 6 channels: CRAN, r2u, autoCRAN, conda-forge, Bioconda and c2d4u.

CRAN rank

89 of 26,530

CRAN

672,187 downloads in the last 30 days

Rank
89 of 26,530
Change
−5.4% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

40,416 downloads in the last 30 days

Rank
84 of 30,526
Change
+152% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

183 downloads in the last 30 days

Rank
299 of 29,212
Change
+4.6% up on the 30 days before, the better direction

It is in the total. Take it out

conda-forge

204,132 downloads in the last 30 days

Rank
55 of 3,828
Change
+48.6% up on the 30 days before, the better direction

It is in the total. Take it out

Bioconda

38 downloads in the last 30 days

Rank
3,597 of 4,976
Change
+22.6% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

60 downloads in the last 30 days

Rank
431 of 7,575
Change
+33.3% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
0
Dependent packages
8
Suggested by
3
Optional extras (8)
Dependent packages (8)
PackageTitleDownloads in 30 days
bit64A S3 Class for Vectors of 64bit Integers739,165
ffMemory-Efficient Storage of Large Data on Disk and Fast Access Functions16,265
CyclopsCyclic Coordinate Descent for Logistic, Poisson and Survival Analysis1,594
FLightRReconstruct Animal Paths from Solar Geolocation Loggers Data432
BGDataA Suite of Packages for Analysis of Big Genomic Data425
ETLUtilsUtility Functions to Execute Standard Extract/Transform/Load Operations (using Package 'ff') on Large Data325
symDMatrixPartitioned Symmetric Matrices322
TOCTotal Operating Characteristic Curve and ROC Curve244
Functions
445
Public exports
135
Lines of R code
5,996
Median complexity
2
Functions (445)
Size and composition

Lines by kind (19,060)

KindLinesShare
R code5,99631%
Tests1,5578%
Documentation3,77720%
Guides1,6339%
Compiled code6,09732%

Lines by language

LanguageLinesShare
R7,55340%
C6,09732%
Rd3,77720%
Vignettes1,6339%

Languages are counted from file extensions.

Files
115
R functions
271
Compiled functions
174
Object systems
S3: 149 methods
Complexity
Median
2
Mean
3.69
Highest
45
Median lines per function
6
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
271
Calls
281
Unconnected
101
Groups
7
Growth (26 releases)
Total lines by release
13 on 29 Sep 200819,060 on 6 Mar 2025
Release changes

The tests ran and coverage was measured.

Lines run by tests
72.1%
Expressions run by tests
71.8%
Test cases
31
Exports named in tests
37.8%
Coverage by file (11)
Coverage run
Lines counted
2,095
Lines the tests ran
1,345
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
31
Lines of tests
1,557
Test lines per line of code
0.26
Exports documented
100%
Arguments documented
100%
Return value documented
96.2%
Help pages with examples
93.8%
Examples run in checks
100%
Guides (3)
Other documentation
README
No
Release notes file
Yes
Help pages
65
Lines of documentation
3,777
Earlier names (1)
  • Jens Oehlschl\xE4gel

r-lib / bit on github.com

Stars
13no change on 30 days ago
Forks
1
Open issues
8
Last commit
6 May 2025
Activity
Commits
120
Open pull requests
1
Tagged releases
1
Latest tagged release
4.6.0, 11 Mar 2025
In development
Default branch at 4.6.99, ahead of CRAN 4.6.0 (checked 2026-10-25)
Issues closed in
136 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
12 Apr 2020
Licence file reads as
–
Development practices (6)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
CoverageCoverage reporting (Codecov)
Reproducibility and dev environmentDev Container
Lint, format, editorLint workflow, RStudio project

Method, repository practices

Across r-lib

R releases
  • On CRAN
  • Release
1.04.6.0Orphaned
VersionReleasedREvents
4.6.0 current6 Mar 20254.4.3Maintainer: Michael Chirico
4.5.0.13 Dec 20244.4.2
4.5.020 Sep 20244.4.1
4.0.515 Nov 20224.2.2
4.0.44 Aug 20204.0.2
4.0.330 Jul 20204.0.2
1.1-15.210 Feb 20203.6.2
1.1-15.114 Jan 20203.6.2
Earlier versions (18)
VersionReleasedREvents
1.1-1513 Jan 20203.6.2Orphaned (no maintainer) 13 Jan 2020
1.1-1429 May 20183.5.0
1.1-1315 May 20183.5.0
1.1-129 Apr 20143.0.3
1.1-115 Dec 20133.0.2
1.1-1011 Mar 20132.15.3
1.1-924 Oct 20122.15.1
1.1-815 Jan 20122.14.1
1.1-724 Apr 20112.13.0
1.1-627 Sep 20102.11.1
1.1-423 Mar 20102.10.1
1.1-320 Jan 20102.10.1
1.1-226 Oct 20092.10.0
1.1-111 Oct 20092.9.2
1.1.024 Jul 20092.9.1
1.0-215 Apr 20092.8.1
1.0-115 Feb 20092.8.1
1.09 Oct 20082.7.2
Release notes (4.6.0)

BUG FIXES

Corrected the function prototype for a C function, #36. Thanks @aitap for investigating and suggesting a fix.

chunk() works if {ff} is loaded but not attached, #3. Thanks @dschlaep for the report.

NOTES

After creating, developing, and maintaining {bit} for about 16 years, Jens Oehlschlägel has decided to step down as maintainer of the package. As with {bit64}, Michael Chirico will take over in this duty. Thank you Jens for creating such a wonderful & important part of the R ecosystem!

I don't have any major plans for new features, and mostly hope to keep the package running and up to date. Contributors most welcome! I am also trying to freshen up the code base to make contribution easier.