From 9459b110d638f3c23935971794acaecaf309f990 Mon Sep 17 00:00:00 2001 From: yabwon Date: Thu, 30 Jul 2020 15:01:05 +0200 Subject: [PATCH] version 20200730 version 20200730, change list: 1) All elements of the SAS Packages Framework were moved to the SPFinit.sas file in directory SPF [SAS Packages Framework]. 2) The public repository reordered [two new folders] and location link in the %installPackages() macro changed. 3) New directories: SPF [for SAS Packages Framework content and documentation] and packages [for packages repository] 4) Package FunctionsImissinBASE renamed to BasePlus. 5) All packages recompiled with new setup. --- SPF/SPFinit.sas | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/SPF/SPFinit.sas b/SPF/SPFinit.sas index c74d0db..0fbff98 100644 --- a/SPF/SPFinit.sas +++ b/SPF/SPFinit.sas @@ -421,33 +421,33 @@ des = 'Macro to install SAS package, version 20200730. Run %%installPackage() fo %if %superq(packageName) = %then %do; %put ; - %put ###############################################################################; - %put # This is short help information for the installPackage macro #; - %put ###############################################################################; - %put # #; - %put # Macro to install SAS packages, version 20200730 #; - %put # #; - %put # A SAS package is a zip file containing a group #; - %put # of SAS codes (macros, functions, datasteps generating #; - %put # data, etc.) wrapped up together and included by #; - %put # a single load.sas file (also embedded inside the zip). #; - %put # #; - %put # Parameters: #; - %put # #; - %put # packageName Name of a package, e.g. myPackage, #; - %put # Required and not null, default use case: #; - %put # %nrstr(%%installPackage(myPackage)). #; - %put # If empty displays this help information. #; - %put # #; - %put # sourcePath= Location of the package, e.g. "www.some.web.page/" #; - %put # Mind the "/" at the end of the path! #; - %put # Current default location: #; - %put # https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/master/ #; - %put # #; - %put # replace= With default value of 1 it causes existing package file #; - %put # to be replaceed by new downloaded file. #; - %put # #; - %put ###############################################################################; + %put ########################################################################################; + %put # This is short help information for the installPackage macro #; + %put ########################################################################################; + %put # #; + %put # Macro to install SAS packages, version 20200730 #; + %put # #; + %put # A SAS package is a zip file containing a group #; + %put # of SAS codes (macros, functions, datasteps generating #; + %put # data, etc.) wrapped up together and included by #; + %put # a single load.sas file (also embedded inside the zip). #; + %put # #; + %put # Parameters: #; + %put # #; + %put # packageName Name of a package, e.g. myPackage, #; + %put # Required and not null, default use case: #; + %put # %nrstr(%%installPackage(myPackage)). #; + %put # If empty displays this help information. #; + %put # #; + %put # sourcePath= Location of the package, e.g. "www.some.web.page/" #; + %put # Mind the "/" at the end of the path! #; + %put # Current default location: #; + %put # https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/master/packages/ #; + %put # #; + %put # replace= With default value of 1 it causes existing package file #; + %put # to be replaceed by new downloaded file. #; + %put # #; + %put ########################################################################################; %put ; %GOTO ENDinstallPackage; %end; @@ -474,7 +474,7 @@ des = 'Macro to install SAS package, version 20200730. Run %%installPackage() fo %if %superq(sourcePath)= %then %do; - %let sourcePath = https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/master/; + %let sourcePath = https://raw.githubusercontent.com/yabwon/SAS_PACKAGES/master/packages/; %end; filename &in URL "&sourcePath.%lowcase(&packageName.).zip" recfm=N lrecl=1; filename &out "%sysfunc(pathname(packages))/%lowcase(&packageName.).zip" recfm=N lrecl=1;