renamed riv package to woe (due naming conflicts on cran)