updated documentation to roxygen version 4