Skip to content

Nakaya-Ryo/SASPACerShiny

Repository files navigation

SASPACerShiny (latest version 0.0.2 on 24August2025)

An R package(Shiny app) to help creating SAS packages

onigirishiny

"サスパッカー" in the logo stands for SASPACer in Japanese. Original SASPACer is a SAS package to support creating SAS packages. SASPACer Shiny is an R shiny application with the same purpose. By providing GUI interface, SASPACer Shiny supports R users to create SAS packages. Once SAS package source folder/file structure is done by SASPACer Shiny, users should run %generatePackage() in SAS Package Framework(SPF) using SAS to complete creating SAS packages. By the way, original SASPACer is suite tool until completion of creating SAS packages.

Sample R code (to create SAS package folder/file structure):

remotes::install_github("Nakaya-Ryo/SASPACershiny")
SASPACerShiny::run_app()

Sample SAS code (to complete SAS package generation):

%generatePackage(
	filesLocation=\path\to\your\source\package\folder ,
	markdownDoc=1, easyArch=1) 

You can learn from the following training materials by Bartosz Jablonski for source files and folders structure of SAS packages.
My first SAS Package -a How To
SAS Packages - The Way To Share (a How To)

Version history

0.0.2(24August2025) : Updated documentations
0.0.1(23August2025) : Initial version


What is SAS Packages?

The package is built on top of SAS Packages Framework(SPF) developed by Bartosz Jablonski.

For more information about the framework, see SAS Packages Framework.

You can also find more SAS Packages (SASPacs) in the SAS Packages Archive(SASPAC).

How to use SAS Packages? (quick start)

1. Set-up SAS Packages Framework

First, create a directory for your packages and assign a packages fileref to it.

filename packages "\path\to\your\packages";

Secondly, enable the SAS Packages Framework. (If you don't have SAS Packages Framework installed, follow the instruction in SPF documentation to install SAS Packages Framework.)

%include packages(SPFinit.sas)

2. Install SAS package

Install SAS package you want to use with the SPF's %installPackage() macro.

  • For packages located in SAS Packages Archive(SASPAC) run:

    %installPackage(packageName)
  • For packages located in PharmaForest run:

    %installPackage(packageName, mirror=PharmaForest)
  • For packages located at some network location run:

    %installPackage(packageName, sourcePath=https://some/internet/location/for/packages)

    (e.g. %installPackage(ABC, sourcePath=https://github.com/SomeRepo/ABC/raw/main/))

3. Load SAS package

Load SAS package you want to use with the SPF's %loadPackage() macro.

%loadPackage(packageName)

Enjoy!


About

SASPACer for shiny

Topics

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages