'Rcpp' Bindings for the 'Corpus Workbench' ('CWB')
Overview
'Rcpp' Bindings for the C code of the 'Corpus Workbench' ('CWB'), an indexing and query engine to efficiently analyze large corpora (https://cwb.sourceforge.io). 'RcppCWB' is licensed under the GNU GPL-3, in line with the GPL-3 license of the 'CWB' (https://www.r-project.org/Licenses/GPL-3). The 'CWB' relies on 'pcre2' (BSD license, see https://github.com/PCRE2Project/pcre2/blob/master/LICENCE.md) and 'GLib' (LGPL license, see https://www.gnu.org/licenses/lgpl-3.0.en.html). See the file LICENSE.note for further information. The package includes modified code of the 'rcqp' package (GPL-2, see https://cran.r-project.org/package=rcqp). The original work of the authors of the 'rcqp' package is acknowledged with great respect, and they are listed as authors of this package. To achieve cross-platform portability (including Windows), using 'Rcpp' for wrapper code is the approach used by 'RcppCWB'.
- Fixes a 'discarded-qualifiers' warning reported by CRAN check machines #104.
- Fixes a 'unused-const-variable' warning.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-21
- WARNING12 OK, 1 WARNING2026-07-16
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 37includes a package overview page
- Examples that run
- 93%25 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran) · 1 never run
- Exported functions with examples
- 71%
- Documented parameters
- 96%
- Return-value docs
- 42%
- Help pages citing references
- 5%
Downloads
Repository
- PRs merged (all time)
- 67%
- Median days to close, 50 most recently updated closed issues
- 5
- Median days to close, 50 most recently updated closed PRs
- 4
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/polmine/rcppcwb on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2023-03-23 · The repository has a site deploy workflow
Show all practicesHide 3 practices
Dependencies
Installing RcppCWB adds 2 packages (2 with compiled code, 3.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, fs 1.4 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.6.11Latest
- 0.6.102025-09-30 · diff ↗
- 0.6.92025-09-28 · diff ↗
- 0.6.82025-07-17 · diff ↗
- 0.6.72025-04-11 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 0.6.62025-03-30 · diff ↗
- 0.6.52024-09-24 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 0.6.42024-02-29 · diff ↗
- 0.6.32023-11-30 · diff ↗
- 0.6.22023-06-29 · diff ↗
- 0.6.12023-06-14 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 0.6.02023-03-21 · diff ↗
Show 34 earlier eventsHide 34 earlier events
- 0.5.5
- 0.5.42022-08-31 · diff ↗
- 0.5.32022-05-19 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 0.5.2
- 0.5.12022-03-06 · diff ↗ ·
removed 1 export
check_cqp_queryadded 24 exports
check_query, cl_find_corpus, cpos_to_id, cpos_to_lbound, cpos_to_rbound, cpos_to_str, cpos_to_struc, cqp_drop_subcorpus, cqp_load_corpus, cqp_verbosity, cwb_charsets, id_to_cpos, id_to_freq, p_attr, p_attr_lexicon_size, p_attr_size, regex_to_id, region_matrix_context, s_attr, s_attr_relationship, s_attr_size, str_to_id, struc_to_cpos, struc_to_str - 0.5.0
- 0.4.4
- 0.4.32021-07-20 · diff ↗
- 0.4.22021-07-13 · diff ↗
- 0.4.02021-06-25 · diff ↗ ·
added 5 exports
cl_struc_values, corpus_data_dir, cwb_encode, s_attr_is_descendent, s_attr_is_sibling - RR 4.1.0 released · 2021-05-18
- 0.3.22021-02-03 · diff ↗
- 0.3.12021-02-03 · diff ↗
- 0.3.02020-07-08 · diff ↗
- archivedRemoved from CRAN2020-06-25installation problems were not corrected in time '-fno-common' issues with gcc10, misuses gcc for part of the compilation even when not specified
- 0.2.102020-06-25 · diff ↗
- 0.2.92020-06-25 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.2.8
- 0.2.72019-01-09 · diff ↗
- 0.2.6
- 0.2.52018-08-10 · diff ↗
- 0.2.42018-06-15 · diff ↗ ·
added 6 exports
check_pkg_registry_files, cwb_compress_rdx, cwb_huffcode, cwb_makeall, get_pkg_registry, use_tmp_registry - 0.2.32018-05-13 · diff ↗ ·
added 9 exports
check_corpus, check_cpos, check_cqp_query, check_id, check_p_attribute, check_region_matrix, check_registry, check_s_attribute, check_strucs - 0.2.22018-05-01 · diff ↗ ·
removed 6 exports
p_attribute_compress_rdx, p_attribute_encode, p_attribute_huffcode, p_attribute_makeall, registry_file_write, s_attribute_encode - RR 3.5.0 released · 2018-04-23
- 0.2.12018-04-21 · diff ↗ ·
removed 17 exports
cwb_attribute_size, cwb_cpos2id, cwb_cpos2lbound, cwb_cpos2rbound, cwb_cpos2str, cwb_cpos2struc, cwb_id2cpos, cwb_id2freq, cwb_id2str, cwb_lexicon_size, cwb_regex2id, cwb_str2id, cwb_struc2cpos, cwb_struc2str, decode_s_attribute, regions_to_count_matrix, regions_to_idsadded 18 exports
cqp_dump_subcorpus, cqp_get_registry, cqp_initialize, cqp_is_initialized, cqp_list_corpora, cqp_list_subcorpora, cqp_query, cqp_reset_registry, cqp_subcorpus_size, p_attribute_compress_rdx, p_attribute_encode, p_attribute_huffcode, p_attribute_makeall, region_matrix_to_count_matrix, region_matrix_to_ids, registry_file_write, s_attribute_decode, s_attribute_encode - unarchivedReturned to CRAN2018-02-20
- 0.1.72018-02-20 · diff ↗
- archivedRemoved from CRAN2018-01-19was very far from cross-platform code
- 0.1.32018-01-16
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-01-16
- Total releases
- 37 / 8 yrs
- License
- GPL-3 OSI
- Copyright
- For the copyrights for the 'Corpus Workbench' (CWB) and acknowledgement of authorship, see file COPYRIGHTS.
- Download size
- 1.1 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RcppCWB")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.