R Observatory
Search
install.packages("bsearchtools")
CRAN checks, method
OKnotes on 2 of 13
CRAN 30-day downloads, method
383−19.9% down on the 30 days before, the worse direction
Test coverage, method
85%of lines run by tests

Exposes the binary search functions of the C++ standard library (std::lower_bound, std::upper_bound) plus other convenience functions, allowing faster lookups on sorted vectors.

Maintainer
Marco Giuliano
Licence
GPL (>= 2)
Latest release
22 Feb 2017
First release
6 Nov 2016

Compare with another package

More details
Releases
4
Needs compilation
Yes
Date
2017-02-22
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("bsearchtools")

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 bsearchtools version 0.0.61 [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.

No warnings or errors. 2 of 13 check platforms have notes.

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

    The unreleased R on Linux, x86_64, debian-clang

    Note

    Version checked
    0.0.61
    Time taken
    48 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Marco Giuliano <mgiuliano.mail@gmail.com>’

    Full output

  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    Note

    Version checked
    0.0.61
    Time taken
    40 s

    CRAN incoming feasibility: Note

    Maintainer: ‘Marco Giuliano <mgiuliano.mail@gmail.com>’

    Full output

  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.0.61
    Time taken
    33 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.0.61
    Time taken
    34 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    145 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.0.61
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    39 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    129 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    42 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    42 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.0.61
    Time taken
    13 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    39 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.0.61
    Time taken
    93 s
  • 2 Note
  • 11 OK
Check output (1)

CRAN incoming feasibility, Note on 2 platforms

Maintainer: ‘Marco Giuliano <mgiuliano.mail@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Marco",
                    family = "Giuliano",
                    role = c("aut", "cre"),
                    email = "mgiuliano.mail@gmail.com")
as necessary.

Over time

No change since 22 Apr 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
22 Apr 2026Note12200
18 Apr 2026Error11201
10 Mar 2026Note12200

Since March 2026

Check results on CRAN

Total downloads in the last 365 days
7,048It is the sum of 2 channels: CRAN and r2u. autoCRAN was counted over another window, so it is not added.

CRAN rank

5,986 of 26,530

CRAN

6,662 downloads in the last 365 days

Rank
5,986 of 26,530

It is in the total. Take it out

r2u

386 downloads in the last 365 days

Rank
4,498 of 30,526

It is in the total. Take it out

autoCRAN

8 downloads in the last 30 days

It is not added because it has no figure for the last 365 days. Show the last 30 days

Over time

Compare downloads

Needs
1
Dependent packages
0
Suggested by
0
Needs (1)
Installing it adds
1 package, 1.8 MB of source
Of those, need compilation
1
Functions
99
Public exports
42
Lines of R code
352
Median complexity
1
Functions (99)
Size and composition

Lines by kind (1,907)

KindLinesShare
R code35218%
Tests33317%
Documentation59031%
Compiled code63233%

Lines by language

LanguageLinesShare
R68536%
Rd59031%
C++57030%
C623%

Languages are counted from file extensions.

Files
24
R functions
52
Compiled functions
47
Object systems
S3: 6 methods
Complexity
Median
1
Mean
1.67
Highest
13
Median lines per function
3
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
52
Calls
27
Unconnected
27
Groups
4
Growth (4 releases)
Total lines by release
1,587 on 6 Nov 20161,907 on 22 Feb 2017
Release changes

The tests ran and coverage was measured.

Lines run by tests
85.5%
Expressions run by tests
85.5%
Test cases
90
Exports named in tests
88.1%
Coverage by file (1)
Coverage run
Lines counted
134
Lines the tests ran
117
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testit
Test cases
90
Lines of tests
333
Test lines per line of code
0.95
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
100%
Other documentation
README
Yes, 254 words
Release notes file
Yes
Help pages
13
Lines of documentation
590

digEmAll / bsearchtools on github.com

Stars
1no change on 30 days ago
Forks
0
Open issues
0
Last commit
22 Feb 2023
Activity
Commits
50
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
36 days (median)
Pull requests closed in
–
Pull requests merged
–
Created
5 Nov 2016
Licence file reads as
–
R releases
  • On CRAN
  • Release
VersionReleasedR
0.0.61 current22 Feb 20173.3.2
0.0.5922 Jan 20173.3.2
0.0.4712 Dec 20163.3.2
0.0.416 Nov 20163.3.2
Release notes (0.0.61)
  • Bug Fixes :
  • Fixed: R v3.4+ requires native symbols registration (9)