', esc(bib), uri))
```
R users can also retrieve the reference with `citation("lexsync")`, which
formats it as the APA reference for software. The 0.1.0 release on CRAN was
built before the DOI existed and prints the GitHub address, while 0.1.1 and
later print the DOI.
The repository also holds a machine-readable
[`CITATION.cff`](https://github.com/pablobernabeu/lexsync/blob/main/CITATION.cff),
which GitHub turns into a ready-made citation through its 'Cite this
repository' button and which reference managers can import. Because it
describes both packages, it gives the concept DOI of the Zenodo archive that
holds every GitHub release of both. It also lists each package's identifiers,
the CRAN DOI above among them.
A manuscript describing lexsync is in preparation, under the title *lexsync: A
cross-platform pipeline for multidimensional lexical optimisation and
hardware-timed experiment generation*. It has no venue as yet. Once it is
accepted, `CITATION.cff` will name it as the preferred citation, and until then
the software reference above is the one to use.
## Citing the corpus
The software citation covers the tool, not the data your items came from. The
corpora are third-party work with terms of their own, and every one is credited,
with its licence and its retrieval date, in
[`corpora/ATTRIBUTION.md`](https://github.com/pablobernabeu/lexsync/blob/main/corpora/ATTRIBUTION.md).
Each run's materials datasheet records the source file the run read and its
SHA-256. The corpus behind a published stimulus set therefore stays
identifiable long after the run, and a reader can check that the file they hold
is the one the selection was made from.
## The developer
[Pablo Bernabeu](https://pablobernabeu.github.io) is a researcher in the
Department of Education at the University of Oxford, with hands-on experience of
behavioural experiments, EEG, corpus analysis, computational modelling and
statistics. He develops open and reproducible research software in R and
Python, and is a Fellow of the Software Sustainability Institute. His
[ORCID record](https://orcid.org/0000-0003-1083-2460) lists his other work.
## The two packages
lexsync has a feature-parity twin in Python, documented at
[its own site](https://pablobernabeu.github.io/lexsync/python/). The two
packages are built from one repository and released in step under one version.
Under the deterministic matching methods, they select byte-identical stimuli
from the same lexicon and design. A group can therefore work in whichever
language suits it without the materials diverging.
## Licence
The source code is released under the
[MIT licence](https://pablobernabeu.github.io/lexsync/r/LICENSE.html). The
corpus derivatives bundled with the package are not covered by it. They inherit
share-alike terms from the corpora they were built from, so they are distributed
under CC BY-SA 4.0.
[`LICENSE-DATA`](https://github.com/pablobernabeu/lexsync/blob/main/LICENSE-DATA)
sets out the reasons, and
[`corpora/ATTRIBUTION.md`](https://github.com/pablobernabeu/lexsync/blob/main/corpora/ATTRIBUTION.md)
records the sources and retrieval dates. If you have only the installed
package, its `COPYRIGHTS` file gives the same terms and the credit they require,
and `system.file("COPYRIGHTS", package = "lexsync")` locates it.
The distinction matters if you redistribute a lexicon derived from the bundled
data, since that means crediting the original corpus authors, saying what was
changed and passing the same licence on. Nothing of the sort applies to the code
you write with the package.
## Versioning and archival
lexsync follows semantic versioning, and the R and Python packages share one
version number so that a citation identifies the same state of both. Releases
are tagged on GitHub, and the
[changelog](https://pablobernabeu.github.io/lexsync/r/news/index.html) records
what changed in each of them.
The R package is on [CRAN](https://CRAN.R-project.org/package=lexsync), which
keeps the source of every version it publishes. A single DOI,