Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dropping empty section \value R package check note

Tags:

r

r-package

when I perform check of a package in Rstudio, I get this note "Dropping empty section \value". It happens during the checking of the Rd files.

checking Rd files ... NOTE
  prepare_Rd: function.Rd:20-22: Dropping empty section \value

Did somebody encounter such an error, and do you know how to solve it???

All help is much appreciated...


1 Answers

This means that at least one of the fields in your Roxygen skeleton doesn't contain any value.

If, for instance, you are not providing any information about the return, either provide it:

#' @return <information>

or remove the whole #' @return line.

like image 144
Pablo Rodríguez Avatar answered Sep 07 '25 23:09

Pablo Rodríguez