updated to meet new CRAN R-dev checks