I'm writing my first R Package using devtools
and roxygen2
in the RStudio IDE. The problem I have is related with previewing the .Rd files I get when I "roxygenize" the .R files. I'm using devtools::document()
in order to get the .Rd files, but when I try to preview the Help Pages by writing any of:
help("FunctionName")
?FunctionName
the console shows the message "Using development documentation for..." but there's a blank space in the help window. Using devtools:load_all()
causes the same problem. Maybe this is related with the way devtools
loads the package in the environment, but neither the document "Writing R Extensions" (that isn't expected to be consulted to use roxygen
), nor the book "R packages" by Hadley Wickham provides a working solution.