apply ropensci naming convention to method