solved some build and documentation issues due to roxygen upgrade