Skip to content

Docstring unable to view the comment #27

Open
@kartik1611

Description

@kartik1611

I am unable to view the comments after changing the below function name and trying to view the comments , snippet and code below for reference purpose

Initially my function name was square but then changed to another variable and then tried to view the comments but I was unable to do so
image

image

### code for reference purpose
`
rm(list=ls(all=T))
library(docstring)
ab <- function(a){
#' @title :square function
#' @description : print the squares of the number
#'from 1 to the input given
#' @param : input number
#' @output : provide the squares of the input range
for(i in 1:a){
b <- i^2
print(b)
}
}
?ab

`

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