R: convert most functions/docs to roxygen2