Easily Communicate Between the "SAS Viya" Platform and R
Overview
The 'sasctl' (sas control) package enables easy communication between the "SAS Viya" platform APIs https://developer.sas.com and the R runtime. It offers convenient wrappers to some most used endpoints.
To comply with CRAN policies some breaking changes were required:
Breaking:
- Functions that write files no longer default to the current working directory. The
pathargument now defaults toNULLand must be supplied explicitly when file output is requested. Affected functions are:write_in_out_json,write_ModelProperties_json,write_fileMetadata_json,calculateFitStat,calculateROCStat,calculateLiftStat,diagnosticsJson, andcreate_scoreSample. This may cause errors if a path is not explicitly assigned. These functions now also return explicitly instead of invisibly. - Codegen
add_target_namedefault changed toFALSE(comment: it was confusing and unecessary most of the time)
Changes:
Show all changes in 0.9.0Hide the rest of the changes in 0.9.0
- fix: json functions no longer return values invisibly.
- fix: Functions that writes to path requires it defined explictly now
- fix: codegen has been updated with some fixes and quality of life. (The user should still verify the generated code and files)
- fix: The R scoring code sample and generated codes no loger uses
.GlobalEnv, it relies on R context inheritance to load models. (comment: it was required to addsasctlto CRAN, it can still be used if the user wants.) - fix: Updated docs and readme to use
file.pathinstead ofpaste0(...)when referencing system files.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK7 OK2026-09-19
Documentation
- Help pages
- 49
- Examples that run
- 16%8 run in a plain check · 41 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- xgb-tidymodel HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 448
- Median days to close, 50 most recently updated closed PRs
- 0
7 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/sassoftware/r-sasctl on 2026-10-11.
GitHub Pages site last deployed 2026-09-18 · The repository has a site deploy workflow
pkgdown site last built 2026-09-18
Dependencies
Code & Tests
People & History
- 0.9.0Latest2026-09-18 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-09-18
- Total releases
- 1 / 1 yrs
- License
- Apache License (>= 2)
- Download size
- 139 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("sasctl")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
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.