Skip to content

Apply(): Raise warning instead of error when input names are not found in fun args

Related to #17 (closed),

This modifies the changes in !35 (merged) and !34 (merged) for Apply() to raise a warning instead of an error when the names found in data, margins or target_dims are not arguments found in fun. In that case, the names are ignored and the input order is left as-is.

This modification is to avoid raising unnecessary errors in pre-existing code that e.g. made use of names in order to match them to the values in use_attributes; for example startR use case 2.5.

Merge request reports

Loading