myPackage - this is my cool package
- Package: myPackage
- Version: 1.2.3
- Generated: 2024-09-26T10:14:19
- Author(s): John Smith ([email protected]), Bob Cat ([email protected])
- Maintainer(s): John Smith ([email protected])
- License: MIT
- File SHA256:
F*064D4495812508B138EA5320321810F59F50D3C27B764E59F625618BC4E9D668
for this version - Content SHA256:
C*0E1C28C6A228F970CBAE3EADBC7E57518BC85CF876CEC439B5B0DBAAFF93D8A2
for this version
MyPackage is great, it contains very useful functions, formats/informats, macros and datasets.
We build it during WUSS 2023 Hands-on-Workshops.
This is an experimental demo package(!) not for production use!
But we use it to learn how to build "real" production ready packages!
Required SAS Components:
- Base SAS Software
- SAS/IML
Required SAS Packages:
- basePlus (0.1.0)
- SQLinDS (0.1.0)
Package contains additional content, run: %loadPackageAddCnt(myPackage)
to load it
or look for the mypackage_AdditionalContent
directory in the packages
fileref
localization (only if additional content was deployed during the installation process).
SAS package generated by SAS Package Framework, version 20240711
The myPackage
package consists of the following content:
This is the %dcmacro()
macro.
It asks a question to a hero.
Syntax:
%dcmacro(
<hero>
)
Parameters:
- hero - a name of a hero.
Example 1. Basic use case:
%marvelmacro(BATMAN)
This is the %marvelmacro()
macro.
It provides catch phrases for some heroes.
Syntax:
%marvelmacro(
<hero>
)
Parameters:
- hero - required, a name of a hero.
Macro declaration is:
%macro marvelmacro(hero) / secure;
Example 1. Basic use case:
%marvelmacro(HULK)
This is the %supercool()
macro.
It says my things are better.
Syntax:
%supercool(
<you>
,<data>
,<what>
)
Parameters:
- you - a name to be called.
- data - an object of supercoolnes.
- what - a kind of supercoolnes.
See examples.
Example 1. Basic use case:
%supercool(Python, code, faster)
Example 2. Other basic use case:
%supercool(Excel, table, bigger)
This is the fastformat
character format.
It is used internally by the furiousfunction
function.
These are:
- the
infamous
numeric informat, - the
infamous
numeric format.
They are used internally to generate the sergio
dataset.
The help info is good, sometimes may be ugly, but never is bad!
This is the furiousfunction
function.
The function prints the name and percent of diesel or gasoline.
Returns a character value.
It requires the fastformat
character format to work.
Syntax:
furiousfunction(
<user>
,<value>
)
Parameters:
- user - a character variable, a name to be called.
- value - a numeric variable, a percent value to be displayed.
This is the supercool()
function.
It says that things are super cool.
Syntax:
%supercool(
<data>
)
Parameters:
- data - a character variable, an object of supercoolnes.
This is the F_and_F
dataset.
The data are fast and furious.
It requires the furiousfunction
function and
the fastformat
character format to be generated.
This is the Sergio
dataset.
Some data in it are good, some are bad, and some are ugly.
This is the supercool
dataset.
Some data in it are Super Cool, but are Lazy Data too.
Copyright (c) 2023 WUSS Conference and Bartosz Jablonski and
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.