Releases: yabwon/SAS_PACKAGES
Release list
SAS Packages Framework, version 20260617
SAS Packages Framework, version 20260617
One more updated to resolve issue: #136
Changes
A) Documentation for the %requestPackage() macro updated.
SAS Packages Framework, version 20260615
SAS Packages Framework, version 20260615
Updated to resolve issue: #136
Changes
A) Documentation for the %requestPackage() macro updated.
B) Process flow diagram added to SPF article.
C) Typo fixed in the %loadPackage() macro
The diagram:

SAS Packages Framework, version 20260602
SAS Packages Framework, version 20260602
New macro and parameters added. Errors fixed.
Changes
A) New macro: %requestPackage()!
B) Error fix for githubRepo= selection in the %installPackage() macro.
C) Check for already loaded packages added to the %loadPackage() macro to avoid unnecessary re-loading. To force reloading use: force=1.
D) Update in CMPLIB cleaning for the %unloadPackage() macro.
E) Documentation updated.
Examples
Example: Request for libnameZIP and bpUTiL packages. Dependency (i.e., BasePlus packages) will be installed too:
filename packages "/my/location/for/packages";
%include packages(SPFinit.sas)
%requestPackage(libnameZIP, requiredVersion=0.1.0)
%requestPackage(bpUTiL)
The BasePlus package [ver. 3.2.0]
The BasePlus package [ver. 3.2.5]
- File SHA256:
F*F85189F1AF33755A7C9F05673A8094AE3245A21C8B602E02C20170A4DCF73890for this version - Content SHA256:
C*2216D9556FF51EDABAACBBFED7D30D5B46519083F7217A647A505C2F9FAB3634for this version
Changes:
Fix for leading spaces and [ and ] in the %dirsAndFiles() macro.
SAS Packages Framework, version 20260515
SAS Packages Framework, version 20260515
New parameters added.
Changes
Two new parameters in the %unbundlePackages() macro:
-
reportOnly=- Optional. Indicates if packages unbundling should be suspended and only a report with bundle content be produced and printed. Value1means yes, Value0(default) means no. -
quiet=- Optional. Indicates if printout of the summary report should be suspended. Value1means yes, Value0(default) means no.
SAS Packages Framework, version 20260514
SAS Packages Framework, version 20260514
Code cleaning and fixes in user input verification.
Changes
Code cleaning and fixes in user input verification for macros: %listPackages(), %relocatePackage(), %bundlePackages(), and %unbundlePackages().
The BasePlus package [ver. 3.1.5]
The BasePlus package [ver. 3.1.5]
- File SHA256:
F*2308959251D1BF9259B693EB8C60D30D24D5D7E06AED05A03639A7C7E458658Ffor this version - Content SHA256:
C*9CA3E5365260C4D439592CCD16311BE30C82DE03AFC80BC2EA6B9677B3F7A8CEfor this version
Changes:
Error fix in %splitDSintoBlocks() macro (missing semicolon were producing ugly "Variable is uninitialized." note).
The SQLinDS package [ver. 2.4.0]
The SQLinDS package [ver. 2.4.0]
- File SHA256:
F*A3DC9400DEF1403DC9E191611790244A8B0FB23303D3A98D29777E46A1D4E8B4for this version - Content SHA256:
C*4A49F365C4EF8C5523393FDC1E11C344B023F449B3F1759BA27CFC6C1293A499for this version
Changes:
You can use Proc SQL to populate hash table. Call to %SQL() has to be in double-quotes.
Example
data _null_;
if 0 then set %SQL(SELECT name, age FROM sashelp.class);
declare hash H (dataset: "%SQL(SELECT name, age FROM sashelp.class)") ;
H.defineKey("age");
H.defineKey("name");
H.defineDone();
H.output(dataset:"output");
stop;
run;SAS Packages Framework, version 20260411
SAS Packages Framework, version 20260411
A backup copy of already installed package can be created before installing new one.
Changes
New parameter added to the %installPackage() macro:
backup=- When set to1and a package file already exists (is installed), the macro creates a backup copy of the package file. The backup copy is created with a suffix of the following format:_BCKP_yyyymmddHHMMSS. If thereplace=0thenbackupis set to0too.
Examples
Example: Install SQLinDS and BasePlus packages and create backup copy of existing packages files:
filename packages "/my/location/for/packages";
%include packages(SPFinit.sas)
%installPackage(SQLinDS BasePlus, backup = 1)
SAS Packages Framework, version 20260409
SAS Packages Framework, version 20260409
With properly configured fine-grained personal access token for GitHub packages from private repos can be installed now.
Changes
New parameters added to the %installPackage() macro:
githubRepo=- allows an easy set of the search path for packages available on GitHub:https://github.com/<github>/<githubRepo>/raw/.../githubToken=- provides a fine-grained personal access GitHub token for access to private repositories. The token used has to be configured properly to get the access. Read GitHub documentation to learn how to create and setup your token. The token has to allow for content read.
Examples
Example Install myPrivatePackage package from a private repository myPrivateRepo hosted by myOrganization:
filename packages "/my/location/for/packages";
%include packages(SPFinit.sas)
%installPackage(myPrivatePackage
, github = myOrganization
, githubRepo = myPrivateRepo
, githubToken = github_pat_XXXXXXXXXXXXXXXXXXXXXX_YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY
)