A package for engineering problems in R