flr/FLCore

DELETE min, max, minyear & maxyear from @range

iagomosqueira opened this issue · 0 comments

Those four elements in @range are not different from the object dimensions, and could be computed on the fly from the object, saving lots of updating in methods that change the dimensions of an FLComp object, say '['

The range() method would return them in the same format, but certain attributes, life fmin, fmax and plusgroup would stay there.

Other packages accessing those numbers directly e.g. object@range['min'], would have to change to

range(object)['min']

or better still

range(object, 'min')

A simple

/pkg/R $ grep '@range' *.R

would show the places.

@ejardim @drfinlayscott @laurieKell