inst/testfiles/space-before-end.R

spaced <- function
### desc
(arg1,
 arg2
 ){
  x <- arg1
  x*2
### some result

}
.result <- list(
  spaced = list(
    definition = "spaced <- function\n### desc\n(arg1,\n arg2\n ){\n  x <- arg1\n  x*2\n### some result\n\n}",
    format = "",
    title = "spaced",
    value="some result",
    description="desc",
    "item{arg1}"="arg1 ",
    "item{arg2}"="arg2 "
  )
)

Try the inlinedocs package in your browser

Any scripts or data that you put into this service are public.

inlinedocs documentation built on Oct. 19, 2023, 1:06 a.m.