Skip to content

docstring not working on functions starting with dot(.) #36

@Jiayou-Chao

Description

@Jiayou-Chao
.test <- function(x) {
  #' A test function
  #' @param x a number
  return(x+1)
}

test <- function(x) {
  #' A test function
  #' @param x a number
  return(x+1)
}

docstring(test) works but docstring(.test) throws an error:

The specified rdFile 'AppData\Local\Temp\RtmpUPOF2L/TempPackage/man/.test.Rd' does not exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions