Package: naxp
Title: Encoded ASCII Expressions
Version: 0.1.0
Authors@R:
person("Tim", "Gordon", , "tim.gordon@btinternet.com", role = c("aut", "cre"),
comment = c(ORCID = "0009-0006-3087-4384"))
Description: Converts alphanumeric codes such as postcodes to whole
numbers and back again, following the 'naxp' standard
. A naxp ('encoded ASCII expression')
is a pattern, defined using a similar syntax to regular
expressions, that maps each text it accepts to a number from 1
to a fixed maximum, and any other text to 0. The same pattern
maps text to numbers identically across all 'naxp' libraries in
all languages on all platforms (subject only to the
availability of types able to store large enough integers).
Standard naxps are defined for common code systems and are
built into all 'naxp' libraries. Two naxps can be compared to
determine, among other things, whether stored values keep their
meaning when one replaces the other. Wraps the 'naxp' 'C++'
library .
License: Apache License (== 2.0)
URL: https://naxp.org/, https://github.com/logmu-org/r-naxp,
https://r-naxp.logmu.org/
BugReports: https://github.com/logmu-org/r-naxp/issues
Depends: R (>= 4.1.0)
Suggests: jsonlite, knitr, pillar, rmarkdown, testthat (>= 3.0.0)
VignetteBuilder: knitr
LinkingTo: cpp11
Config/roxygen2/markdown: TRUE
Config/roxygen2/version: 8.0.0
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-GB
SystemRequirements: C++17
NeedsCompilation: yes
Packaged: 2026-11-03 23:49:16 UTC; root
Author: Tim Gordon [aut, cre] (ORCID:
)
Maintainer: Tim Gordon
Repository: https://cran.r-universe.dev
Date/Publication: 2026-11-03 21:14:51 UTC
RemoteUrl: https://github.com/cran/naxp
RemoteRef: HEAD
RemoteSha: 8c3c2a7ba51ca337c18e4cd54e5e44a9138bddc5