I'm getting an error with top-level (non-function definition) code that also uses @Rdname. This is my best guess at the problem, but the real issue could be my code or understanding...
# With the first @rdname is included, roxygen errs with this message:
# object 'blue' of mode 'function' was not found
# Without the first @rdname, it errs on 'gray70'
##' @export
##' @rdname kwcolors
pi2 <- "blue"
##' @rdname kwcolors
##' @export
cols12 <- c("gray70","black","#A6CEE3","#1F78B4","#B2DF8A","#33A02C",
"#FB9A99","#E31A1C","#FDBF6F","#FF7F00","#CAB2D6","#6A3D9A")