Resolving Plant Taxon Names Using the Australian Plant Census
Overview
The process of resolving and updating taxon names is necessary when working with biodiversity data. 'APCalign' uses the Australian Plant Census (APC) and the Australian Plant Name Index (APNI) to align and update plant taxon names to current, accepted standards. 'APCalign' also supplies information about the establishment status (i.e. native or introduced) of plant taxa across different states/territories.
fuzzy_match()no longer confirms a fuzzy match against a candidate that drops anaff./cf./xqualifier present in the query. Itscheck_match()confirmation step only compared word positions up to the shorter of query/candidate, soAcacia aff. aneura("resembles *Acacia aneura*, not confidently identified") could fuzzy-match past its qualifier to the unrelated accepted speciesAcacia aptaneurainstead of being capped at genus rank. A query containingaff,cf, orxas a standalone word now requires the candidate to contain that same token, or the candidate is rejected outright before the coarser word-position check runs; genuineaff./cf.-qualified synonyms and named hybrids that still need fuzzy matching to fix a typo are unaffected.standardise_taxon_rank()no longer corrupts rank values that are already English, or that merely contain a Latin rank term as a substring.sectiois a literal prefix of its own translation (section) andformasits insideinformal, so replacing either anywhere in the input silently mangledsection/subsection/zoosectionintosectionn/subsectionn/zoosectionn, andinformal/informal groupintoinforml/informl group. Both terms are now matched only as the last word of the value, which still translates the prefixed ranks that need it (subsectio,subforma). APC/APNI rank values are unaffected — the fix changes output only for the zoological and DwC vocabularies, where it was found (traitecoevo/taxonAlign#11).standardise_names()no longer rewritesaffinistoaff.when it is the species epithet of an infraspecific name — that is, when the next word is a rank marker (subsp.,var.,f.,ser.,cv.and their unabbreviated or unpunctuated variants). PreviouslyGomphrena affinis subsp. pilbarensisbecameGomphrena aff. subsp. pilbarensis, a name that exists nowhere, so it could only ever align to genus rank. Eight APC/APNI names were affected, three of them currently accepted; all now align at their own rank. A trailingaffinis(Acacia affinis) was already left alone and still is. Two hybrid formulas of the formGenus affinis x Genus epithetare still rewritten, and are left for a follow-up.- Fix malformed
aligned_reasontext for fuzzy genus-levelaff./affinismatches (match_06b/06c/06d), which previously appended the date without a separating(. align_taxa(full = TRUE)no longer leaks the internalidentifier_string,identifier_string2andaligned_name_tmpcolumns when every name is aligned before the last match step runs. The output is now the documented set of columns in all cases.native_anywhere_in_australia()now checks for missing taxonomic resources before building the state-origin matrix, so an offline call reports the problem once instead of once per function that gives up. Its native/introduced test also now reads only the state columns, so a taxon whose name contains "native" (e.g. thenativitatisepithets) can no longer be misclassified.- Internal refactor of
match_taxa(): the ~54 match steps now share helper functions rather than repeating the same block of code. Alignment output is unchanged. - Internal refactor: the duplicated
gsub()-wrapper helper instandardise_names(),strip_names()andstrip_names_extra()is now a single sharedgsub_perl(), and a redundant nested copy ofrelevel_taxonomic_status_preferred_order()insidesynonyms_for_accepted_names()has been removed in favour of the existing top-level function. Behaviour is unchanged.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-13
- ERROR13 OK, 1 ERROR2026-03-12
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 19 (2 internal)includes a package overview page
- Examples that run
- 31%5 run in a plain check · 11 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 5%
- APCalign HTML
- updating taxon names HTML
Downloads
Repository
- PRs merged (all time)
- 87%
- Median days to close, 50 most recently updated closed issues
- 18
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/traitecoevo/apcalign on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows
GitHub Pages site last deployed 2026-09-23 · The repository has a site deploy workflow
pkgdown site last built 2026-09-23
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-03-23Seen in the repository: .claudeNamed in .Rbuildignore: .claudePull request it wrote: opened by a project memberCommits: at least 14 crediting it in the message
- Copilot code reviewCommits: at least 1 accepting its review suggestions
- Claude Sonnet 55 commits · Aug to Sep 2026
- Claude Opus 4.84 commits · Jun to Aug 2026
- Claude Sonnet 4.63 commits · Mar 2026
- Claude Fable 52 commits · Jul to Aug 2026
Dependencies
Code & Tests
Datasets
People & History
Previously maintained by Daniel Falster (0.1.2 to 1.1.3).
Pick two releases to compare their code metrics.
- 2.0.1Latest
- RR 4.6.0 released · 2026-04-24
- 2.0.0
- RR 4.5.0 released · 2025-04-11
- 1.1.32025-02-11 · diff ↗
- unarchivedReturned to CRAN2025-01-28
- 1.1.2
- archivedRemoved from CRAN2025-01-10issues were not corrected despite reminders
- 1.1.0
- 1.0.22024-08-18 · diff ↗
- unarchivedReturned to CRAN2024-05-30
- 1.0.1
- RR 4.4.0 released · 2024-04-24
- archivedRemoved from CRAN2024-03-26policy violation On Internet access
- 0.1.32023-11-16 · diff ↗
- 0.1.22023-10-11
Show 1 earlier eventHide 1 earlier event
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-10-11
- Total releases
- 9 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 6.1 KB / 1 file
- Download size
- 3.8 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("APCalign")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1071/bt24014.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.