R package enviMass