May 9, 2023
8:18 a.m.
Hi Steffen,
Le 8 mai 2023 à 13:40, Steffen Märcker <merkste@web.de> a écrit :
Hi,
is there a way to create an empty package programatically,
RPackageOrganizer default createPackageNamed: #packageName
and how do I rename a package programmatically?
You can take a look at RBRenamePackageTransformation class comment.
Is there a documentation about packages and how exactly their naming scheme relates to tags?
You can get tags with: (RPackageOrganizer default packageNamed: 'RPackage-Core') actualClassTags Inspecting one tag, you can ask its real name: self categoryName "#'RPackage-Core-Baseâ" As you can see, a package tag is prefixed by the package name and a dash. There are some comments in RPackageOrganizer and RPackage. Christophe