Re: [Rd] declare and validate options

2024-03-30 Thread Jiří Moravec
re pipe: It was actually discussed on this mailing list long before magrittr, and various pipe operators existed in various packages for a long time. From outside observer it really seems that it was magrittr that popularized pipe and this popularity managed to get it into base R. re options:

Re: [Rd] declare and validate options

2024-03-29 Thread Duncan Murdoch
On 29/03/2024 11:59 a.m., Antoine Fabri wrote: I think there are too many packages that would need changes under this scheme. There would be zero if the registration of options is not required for packages first uploaded on CRAN before the feature is implemented. If an option is not re

Re: [Rd] declare and validate options

2024-03-29 Thread Antoine Fabri
> > I think there are too many packages that would need changes under this > scheme. There would be zero if the registration of options is not required for packages first uploaded on CRAN before the feature is implemented. If an option is not registered no validation is triggered and nothing brea

Re: [Rd] declare and validate options

2024-03-29 Thread Duncan Murdoch
On 29/03/2024 10:52 a.m., Antoine Fabri wrote: Dear r-devel, options() are basically global variables and they come with several issues: * they're not really truly owned by a package aside from loose naming conventions * they're not validated * their documentation is not standard, and they're of

[Rd] declare and validate options

2024-03-29 Thread Antoine Fabri
Dear r-devel, options() are basically global variables and they come with several issues: * they're not really truly owned by a package aside from loose naming conventions * they're not validated * their documentation is not standard, and they're often not documented at all, it's hard to know what