inst/testfiles/percent.R

### what is 90% of pi?
almost.pi <- 90/100 * pi

## percents should be escaped neither in inlinedocs, nor in
## Documentation Lists, but will be escaped when written to Rd files.
.result <- list(almost.pi=list(description="what is 90% of pi?",
                definition="almost.pi <- 90/100 * pi",
                format="",
                title="almost pi"))

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.