bold
1.3.0CRANInterface to Bold Systems API
Record of 1.3.0Compare with 1.2.0LicencesSBOM
Archived on 26 Aug 2024
- CRAN's reason
repeated policy violation. On Internet access
Policy- Last release
- 1.3.0, 2 May 2023
# Needs the pak package.
# install.packages("pak")
pak::pak("cran::bold@1.3.0") - CRAN checks, method
Method
Checks and health
CRAN runs every current package through R CMD check on a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.
- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- Not checkedarchived 26 Aug 2024
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under Depends, Imports or LinkingTo in their DESCRIPTION file. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.
- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under Suggests install and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again.
- Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 26 Oct 2026, 19,530 of the 25,531 current CRAN packages had no dependent package.
- 0none suggest it
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.Licences
A programmatic interface to the Web Service methods provided by Bold Systems (<http://www.boldsystems.org/>) for genetic 'barcode' data. Functions include methods for searching by sequences by taxonomic names, ids, collectors, and institutions; as well as a function for searching for specimens, and downloading trace files.
- Maintainer
- Salix Dubois
- Licence
- MIT + file LICENSE
- Latest release
- 2 May 2023
- First release
- 28 May 2014
More details
- Releases
- 16
- Needs R
- >= 2.10
- LazyData
- yes
- RoxygenNote
- 7.2.3
Cite
Package
Run in R for the authors' preferred citation:
citation("bold")Dubois, S., & Chamberlain, S. (n.d.). bold: Interface to Bold Systems API (Version 1.3.0) [Computer software]. Retrieved October 27, 2026, from https://CRAN.R-project.org/package=bold
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.
Balamuta, J. J. (2026). R Observatory: Metrics for bold version 1.3.0 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040
About
From data release v2026-10-26, which the citation names so these numbers can be found later.
Health
CRAN checks only the packages on CRAN, and it archived this one on 26 Aug 2024.
Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- Total downloads in the last 30 days
- 389+82.6% up on the 30 days before, the better directionIt is the sum of 4 channels: r2u, autoCRAN, conda-forge and c2d4u.
r2u rank
2,564 of 30,526
r2u
81 downloads in the last 30 days
- Rank
- 2,564 of 30,526
- Change
- +913% up on the 30 days before, the better direction
It is in the total. Take it out
autoCRAN
31 downloads in the last 30 days
- Rank
- 1,322 of 29,130
- Change
- −20.5% down on the 30 days before, the worse direction
It is in the total. Take it out
conda-forge
266 downloads in the last 30 days
- Rank
- 2,137 of 3,828
- Change
- +97% up on the 30 days before, the better direction
It is in the total. Take it out
c2d4u, no longer updated
11 downloads in the last 30 days
- Rank
- 1,551 of 7,575
- Change
- −64.5% down on the 30 days before, the worse direction
It is in the total. Take it out
The total is 389 downloads in the last 30 days. It is the sum of 4 channels: r2u, autoCRAN, conda-forge and c2d4u.
Over time
Dependencies
- Needs
- 6
- Dependent packages
- 0
- Suggested by
- 0
Needs (6)
Optional extras (4)
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
- Functions
- 74
- Public exports
- 18
- Lines of R code
- 2,082
- Median complexity
- 3
Functions (74)
Size and composition
Lines by kind (41,837)
| Kind | Lines | Share |
|---|---|---|
| R code | 2,082 | 5% |
| Tests | 38,484 | 92% |
| Documentation | 1,271 | 3% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| YAML | 37,453 | 90% |
| R | 3,102 | 7% |
| Rd | 1,271 | 3% |
| Other | 11 | 0% |
Languages are counted from file extensions.
- Files
- 83
- R functions
- 74
- Object systems
- S3: 4 methods, S4: 1 generics, S4: 4 methods
- Deprecated functions
- 2
Complexity
- Median
- 3
- Mean
- 3.96
- Highest
- 24
- Median lines per function
- 11.5
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
- 74
- Calls
- 123
- Unconnected
- 7
- Groups
- 2
Growth (16 releases)
Release changes
Tests
Method, Tests Method Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.Test coverage
No coverage run is on record for this package.
- Test cases
- 81
- Lines of tests
- 38,484
- Exports named in tests
- 88.9%
- Has tests
- Yes
- Test frameworks
- testthat
- Test lines per line of code
- 18.48
Documentation
- Exports documented
- 100%
- Arguments documented
- 92.3%
- Return value documented
- 69.2%
- Help pages with examples
- 76.5%
- Examples run in checks
- 0%
Other documentation
- README
- Yes, 512 words
- Release notes file
- Yes
- Help pages
- 17
- Lines of documentation
- 1,271
Datasets
Method, Datasets Method The datasets inside packages are read from their data/ folders when the code is analysed. Each object is described by its class, its shape and its columns, and fingerprinted so the same data can be found in other packages.R objects in datasets
| Dataset | Size |
|---|---|
| sequencesList of 3 nucleotide sequences to use in examples for the `bold_identify` function | length 3 |
People
Method, People Method People on the site are the names packages give them in their DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.Author and maintainer identity
Maintainer since 1.3.0 (2023), previously Scott Chamberlain (0.1.0 to 1.2.0), author
Author
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab and Codeberg.Repository signals
No repository on record
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 26 Oct 2026, the day the data was read.Packages leaving
Archived
| Archived | Back | CRAN's reason | Kind |
|---|---|---|---|
| 26 Aug 2024 | not back | repeated policy violation. On Internet access | Policy |
| Version | Released | R | Events |
|---|---|---|---|
| 1.3.0 | 2 May 2023 | 4.3.0 | Archived 26 Aug 2024 “repeated policy violation. On Internet access” Maintainer: Salix Dubois |
| 1.2.0 | 11 May 2021 | 4.0.5 | |
| 1.1.0 | 17 Jun 2020 | 4.0.0 | |
| 1.0.0 | 1 May 2020 | 4.0.0 | |
| 0.9.0 | 27 Jun 2019 | 3.6.0 | |
| 0.8.6 | 14 Dec 2018 | 3.5.1 | |
| 0.8.0 | 26 Oct 2018 | 3.5.0 | |
| 0.5.0 | 21 Jul 2017 | 3.4.1 |
Earlier versions (8)
Release notes (1.3.0)
NEW FEATURES
- New function
bold_identify_taxonomy()to add taxonomic information to the output ofbold_identify()and replacebold_identify_parents(). Instead of taking the taxon names from thebold_identify()output, and usebold_tax_name()to get the taxonomic ID to then pass it tobold_tax_id()to get the parent names, we take the process ids from thebold_identify()output and then pass them tobold_specimens(). This has the advantages of being faster and, more importantly, making sure the correct taxonomy is returned. The function has less arguments since the filtering of the result isn't necessary anymore. Since the result now has only one line per row of input, the output is always in 'wide' format (like when usingbold_identify_parents()withwide=TRUE). There is one new argumenttaxOnlywhich isTRUEby default and return only the taxonomic data. However, sincebold_specimens()also returns other data (habitat, country, image_url, etc), setting this argument toFALSEwill also join that data to the input. - New function
bold_tax_id2()which will eventually replacebold_tax_id(). The main changes are in the format of the output. For thedataTypes'basic', 'stats', 'images' and 'thirdparty', the output doesn't change. For thedataTypes'sequencinglabs', 'geo' and 'depository', instead of having one (sometimes very) wide data.frame, the result is now in 'long' format, with the columns 'input', 'taxid', 'sequencinglabs|country|depository' and 'count'. For thedataTypes'all' or when selecting more than one dataTypes, the output is a list for each data types containing their respective data.frame. When setting includeTree toTRUE, the parents' data is rbinded to their respective data.frame. The function also check that all arguments are the correct type and that thedataTypeschosen are valid. - The now deprecated
bold_tax_id()has the same argument checks asbold_tax_id2()but will throw warnings instead of errors to not affect existing workflows. Also, if a chosendataTypesis invalid, it gets removed to not make unnecessary requests. - Similarly, the now deprecated
bold_identify_parents()has new argument checks and will throw warnings to not affect existing workflows. - For
bold_tax_id2()andbold_tax_name(), when querying multiple taxa, if one fails, the loop won't break and will instead throw the API error as a warning. The ouput object will also have 2 new attributes "errors" and "params" that will let you see what errors occured for with request and what parameters were use for the request.
To make it easy to retrieve these attributes, 3 new functions have been created:
bold_get_attr()will return a list of the two attributesbold_get_errors()will return a list of the errorsbold_get_params()will return a list of parameters usedbold_specimens()andbold_seqspec()have a new parametercleanDatawhich, when set toTRUE, replaces empty strings ("") by NAs and strings containing only duplicated values by their unique value (ex : "COI-5P|COI-5P|COI-5P" becomes "COI-5P").- New function
bold_read_trace()to replaceread_trace(). Can read one or multiple trace files from aboldtraceobject or provided file path(s). - New function
b_sepFasta()to use after a call tobold_seqspec()wheresepFastawasn't set toTRUE.
MINOR IMPROVEMENTS
- made tests for the new functions
- made tests for the
bold_trace()function - added test to existing functions to improved test coverage
- added/completed argument checks for every functions
bold_specimens()andbold_seqspec()can now also return partial output likebold_seq()- using
data.tablewhen possible, removeddplyrandreshapedependencies - using
stringiinstead ofstringrwhich removedstringr's other dependencies - added more details to the documentation of some functions
BUG FIXES
- changed how http responses are read so they throw warnings and return NAs instead of errors. This prevents a long request to stop and fail, loosing the already fetched data. (#74)
- added a note in the documentation of
bold_seq(),bold_seqspec()andbold_specimen()that if thetaxondoesn't have public records, if using another parameter will return all data for that parameter. Users can verify the availability of public records withbold_stats(). A note was also added inbold_tax_name()that the column 'specimenrecords' relate to the records in the taxonomy browser and not in the public data portal. (#76) - fixed output of bold_seq() (#79)
- changed the function used to encode to UTF-8 (#81, #86)
- contacted bold so they would fix their typo in 'depository' which prevented fetching related data with
bold_tax_id()(#83). Added a line in the function to change 'depositories' to 'depository' in case people had been using that. - added a check for 'name' in
bold_tax_name()to double escape single quotes. Otherwise it doesn't return the data (#84, #85). Since it's related to the API, this means that the data that comes back also contains errors. So I added a function to repair the names of 'taxon', 'taxonrep' and 'parentname' in the returned object. The function is also used inpipe_params()(which is used bybold_seq(),bold_seqspec()andbold_specimen()) to repair thetaxonparameter in case users use results from previous versions. - changed the way the response of
bold_seqspec()is read (#87, #88) thanks @cjfields - added a note in
bold_stats()documentation to specify that the record counts include all gene markers (#90).