Roxygen2 "Error: titlerequires value"

I am getting an error roxygenize()that I cannot understand. I have a package of my various functions in which .Rd files are generated via roxygen.

An error Error: titlerequires a valuethat indicates the absence of a tag @title. However, kmmisc-package.Rthere is a tag in the file @title, so I'm not sure what the problem is.

kmmisc-package.R contains:

##' Miscellaneous Functions
##' 
##' \tabular{ll}{
##' Package: \tab kmmisc\cr
##' Type: \tab Package\cr
##' Version: \tab 0.1-2\cr
##' Date: \tab 2011-10-06\cr    
##' License: \tab GPL-2\cr
##' LazyLoad: \tab yes\cr
##' LazyData: \tab yes\cr
##' }
##' 
##' @author Me \email{my@@email}
##' 
##' Maintainer: Me \email{my@@email}
##'
##' @name kmmisc-package
##' @docType package
##' @title KM Misc
##' @keywords package
##' 
NULL

I am using R 2.13.2 with roxygen2 2.1 just reinstalled from CRAN. Full sessionInfo()is in essence at https://gist.github.com/1268056

Edit

In the @andrie sentence, I now have

#' Miscellaneous Functions
#' 
#' \tabular{ll}{
#' Package: \tab kmmisc\cr
#' Type: \tab Package\cr
#' Version: \tab 0.1-2\cr
#' Date: \tab 2011-09-14\cr    
#' License: \tab GPL-2\cr
#' LazyLoad: \tab yes\cr
#' LazyData: \tab yes\cr
#' }
#' 
#' @author Me \email{my@@email}
#' 
#' Maintainer: Me \email{my@@email}
#' @name package-kmmisc
#' @docType package
#' @title KM Misc
#' @keywords package
#' @aliases kmmisc package-kmmisc
#'
#' 
NULL

which still generates the same error.

+5
source share
2 answers

... roxygenize() ?

#' A test function
#'
#' Description
#'
#' Details
#'
#' @param x numeric number
f1 <- function(x) {
  x
}

:

@Andrie, #' @aliases kmmisc package-kmmisc @aliases. roxygen2 2.1, #' @aliases a-b, , Rd, \alias{"a-b"}. , . , , #' @aliases a-b.

, #' @aliases kmmisc package-kmmisc #' @aliases kmmisc :

#' Miscellaneous Functions
#'
#' \tabular{ll}{
#' Package: \tab kmmisc\cr
#' Type: \tab Package\cr
#' Version: \tab 0.1-2\cr
#' Date: \tab 2011-09-14\cr
#' License: \tab GPL-2\cr
#' LazyLoad: \tab yes\cr
#' LazyData: \tab yes\cr
#' }
#'
#' @author Me \email{my@@email}
#'
#' Maintainer: Me \email{my@@email}
#' @name package-kmmisc
#' @aliases kmmisc
#' @docType package
#' @title KM Misc
#' @keywords package
NULL
+2

:

  • roxygen. ( SO, roxygen # ', .. #)

    #' @name package-kmmisc
    #' @aliases kmmisc package-kmmisc

:

  • @name
  • kmmisc

.

+1

All Articles