Register options with package

Hi! When I remove a package from Opal, I get the following message:


The package dsBoltzmannMachines that I develop, also has options. I named them datashield.BoltzmannMachines.privacyLevel and datashield.BoltzmannMachines.shareModels. When I uninstall the package, they do not go away (of course). Is there an official way to register options with a package? Or is there a certain naming convention?


Yes, options are to be declared in the DESCRIPTION file of the package. Opal uses the DESCRIPTION file to manage the DataSHIELD configuration. See how done in the dsBase package:


1 Like

Thank you very much!