This is a new submission of polyglotSQL 0.1.0.
polyglotSQL provides an R interface to the polyglot-sql Rust crate for
parsing, validating, formatting and translating SQL between more than 30
dialects. All computation happens in-process; the package makes no network
requests and requires no database, Python or Java runtime.
- local macOS 26 (arm64), R 4.6.0
- GitHub Actions: ubuntu-latest (R release, R oldrel-1), macOS-latest (R release), windows-latest (R release)
- win-builder (R-devel)
- macOS builder (R-release, arm64)
0 errors | 0 warnings | 1 note
The note is the expected size note for a package with a compiled Rust backend:
* checking installed package size ... NOTE
installed size is 46.5Mb
sub-directories of 1Mb or more:
libs 46.1Mb
The libs directory contains a single shared object with the statically
linked Rust engine. The size reflects genuine functionality: the package
embeds complete tokenizers, parsers and code generators for 34 SQL dialects,
which is the core purpose of the package. The release profile already uses
link-time optimization and a single codegen unit; the remaining size is
executable code, not debugging information or data.
Following the CRAN policy on Rust packages:
SystemRequirementsdeclaresCargo (Rust's package manager), rustc >= 1.88.0, xz. That minimum was determined empirically as the maximumrust-versiondeclared by the vendored dependencies and verified by building the package with rustc 1.88.0.- All Rust dependencies are vendored in
src/rust/vendor.tar.xz, and cargo is invoked with--offline. No code or binary is downloaded duringR CMD INSTALL. - Compilation is limited to two parallel jobs (
cargo build -j 2). configureandconfigure.winonly check for cargo and rustc and print installation instructions; they never install a toolchain.- Temporary build artefacts (
src/.cargo, the unpackedvendordirectory and the cargo target directory) are removed after the build, andcleanupremoves the generatedsrc/Makevars. - The source tarball contains no compiled binaries.
- Licenses and copyright of the bundled Rust code, including the upstream
Polyglot project (MIT) and the SQLGlot-derived portions (MIT), are recorded
in
inst/COPYRIGHTS,inst/AUTHORSandAuthors@R.
There are currently no downstream dependencies (new submission).