To demonstrate a minimal case, say I have the following package:
#' @docType package
#' @import methods
#' @title MyTitle
#' @description MyDescription
#' @details MyDetails
#' @export
A <- setRefClass("A")
When I roxygenize
(in RStudio, before a 'Build & Reload'). I get:
==> roxygenize('.', roclets=c('rd', 'collate', 'namespace'))
* checking for changes ... ERROR
Error in process.docType(partitum) :
Roclet processing error in block Test1.R:7
argument is of length zero
What's going wrong? How do I resolve this error?
My setup:
- Roxygen2 3.1.0
- Using roxygen to generate (in RStudio):
- Rd files
- Collate field
- NAMESPACE file
- Automatically roxygenising when running (in RStudio):
- R CMD check
- Source and binary package builds
- Build & Reload
- Using roxygen to generate (in RStudio):
- R: 3.0.2 (Frisbee Sailing)
- IDE: RStudio 0.98.490
- OS: Windows 8.1