Tests for mask_crop_subset() generate the following warning/error:
attempt to apply non-function
According to the annotations in GH actions, this only happens in ubuntu and windows os.
Tests for get_perc_risk_index() are also affected as the function calls mask_crop_subset().