Skip to content
Prev 18567 / 21312 Next

[Bioc-devel] Best Practices for Renaming S4 Slots

The reason I mentioned the API freeze was to emphasize that we are at a 
stage in our release schedule where we must be very careful to not make 
changes that are potentially disruptive. I'm sorry if this suggested 
that renaming a slot is changing the API. Let's be very clear on this: 
it's not.

However, in my experience, changing the internals of an S4 class tends 
to be disruptive. Not from an end-user point of view (they're supposed 
to use accessor functions), but from the point of view of other packages 
that rely on serialized objects (either from their own data/ folder or 
from an experiment package) for their examples, vignettes, and/or unit 
tests. These packages will break and their maintainers will need some 
time to identify the problem and address it.

So I stand to my initial recommendation to not do this now but to wait 
for the new BioC 3.15 development cycle. It's only 2 weeks away so it 
will delay Chris by 2 weeks only.

Cheers,
H.
On 15/10/2021 12:21, Vincent Carey wrote: