Package: credgate Title: Detect Indian Personal Data Before It Reaches Language Models Version: 0.1.0.9000 Authors@R: c(person("Bharat", "Sikka", role = c("aut", "cre", "cph"), email = "bharat8sikka@gmail.com"), person("Aishwarya", "Bais", role = c("aut", "cph"), email = "aishwarya.bais00@gmail.com")) Description: Detects personal data in text before it is sent to a large language model, with Indian identifiers built in: Aadhaar (validated with the Verhoeff checksum), Aadhaar Virtual ID, PAN, GSTIN, voter ID, passport, driving licence, CKYC, ration card and job card numbers, UPI IDs, IFSC codes, bank account and payment card numbers with expiry dates and verification codes, mobile numbers and Ayushman Bharat (ABHA) health IDs, plus rule-based detection of names and addresses in Latin and Indic scripts. Candidates are validated with checksums, scored from surrounding context and matched through Indic digits and invisible characters. The rules come from a language-neutral specification shared with the 'Python' package of the same name. License: Apache License (>= 2) URL: https://dwarpal.github.io/credgate/r/, https://github.com/dwarpal/credgate BugReports: https://github.com/dwarpal/credgate/issues Encoding: UTF-8 Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 Depends: R (>= 4.3) Imports: cli, jsonlite, rlang, stringi, yaml Suggests: arrow, bigrquery, askpass, DBI, dbplyr, dplyr, duckdb, knitr, openssl, rmarkdown, RSQLite, sodium, sparklyr, testthat (>= 3.0.0), withr VignetteBuilder: knitr Config/testthat/edition: 3 Config/pak/sysreqs: libicu-dev Repository: https://dwarpal.r-universe.dev Date/Publication: 2026-11-01 21:52:31 UTC RemoteUrl: https://github.com/dwarpal/credgate RemoteRef: HEAD RemoteSha: 30f417bfdb7c2ef819fc6cb4ebd0815161510824 RemoteSubdir: pkg/credgate NeedsCompilation: no Packaged: 2026-11-02 00:59:17 UTC; root Author: Bharat Sikka [aut, cre, cph], Aishwarya Bais [aut, cph] Maintainer: Bharat Sikka