Skip to content

Error with definition of top-level vector and @rdname #165

@kwstat

Description

@kwstat

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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions