Convert Rd to roxygen documentation