Translates 'SAS' programs and projects into R code, orders connected programs by their dependencies, and executes generated code. Compares generated datasets with supplied reference outputs and reports unresolved translation and validation findings. Rule-based translation works offline without a 'SAS' installation. Optional language model translation, review, and repair use a user-configured provider through 'ellmer' and may require an account and API credentials.
| Version: | 0.5.8 |
| Depends: | R (≥ 4.1) |
| Imports: | callr, cli (≥ 3.4), clue, filelock, haven, jsonlite, stats, tibble, utils, vctrs, yaml |
| Suggests: | diffdf, dplyr (≥ 1.1.0), ellmer (≥ 0.4.2), ggplot2, knitr, pdftools, pkgload, ps, rmarkdown, S7, testthat (≥ 3.1.7), withr |
| Published: | 2026-11-03 |
| DOI: | 10.32614/CRAN.package.sas2r (may not be active yet) |
| Author: | Songyue Chen [aut, cre] |
| Maintainer: | Songyue Chen <songyue.chen.dev at gmail.com> |
| BugReports: | https://github.com/songyue-chen/sas2r/issues |
| License: | Apache License (≥ 2) |
| URL: | https://github.com/songyue-chen/sas2r |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | sas2r results |
| Reference manual: | sas2r.html , sas2r.pdf |
| Vignettes: |
Dependency-Aware SAS-to-R Migration (source, R code) The Runtime Inside Every Translated Program (source, R code) |
| Package source: | sas2r_0.5.8.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=sas2r to link to this page.