I am trying to generate roxygen2 comments inside my R code and I am currently NOT using an R Project but rather using ProjectTemplate (http://projecttemplate.net/).
My problem is roxygen2 only seems to work within a Project (hopefully I am wrong about this) and therefore when I run the command
roxygenize('.')
I just get errors about a missing DESCRIPTION
file. If I create a DESCRIPTION
file and run
roxygenize('.')
again, the code executes and a /man
and /inst
folder is created but is blank.
Can someone please tell me if it is even possible to use roxygen2 outside of an R Project?