-
Notifications
You must be signed in to change notification settings - Fork 237
Closed
Description
Code block
draw.Blob <- function (type = 'small')
{
'Something about blobs'
type <<- 'small'
}
#' Blob
#'
#' Blah blah blah
#'
#' @slot type a character vector
#' @examples
#' Blob(type = 'small')
#' @export
Blob <- setRefClass (
Class = "Blob",
fields = list(type = 'character'),
methods = list(draw = draw.Blob)
)
check() generates following error message:
* checking for code/documentation mismatches ... WARNING
S4 class codoc mismatches from documentation object 'Blob-class':
Slots for class 'Blob'
Code: .xData
Inherited: .xData
Docs: type
If I remove the roxygen line starting with @slot this error message goes away.
Reproducible example on the slot_issues branch of roxygentest repo
Perhaps useful throwaway comment here:
Also
@fieldtag for RC a la@slotfor S4
Metadata
Metadata
Assignees
Labels
No labels