This function is used to demonstrate the custom tags of the rdx_roclet()
.
demo_fun(x, number = 1, letter = "a")
An argument
none
A number
A number
1
A letter
a character scalar, i.e., a character vector of length one
The first letter of the alphabet
This is the introduction.
This is a simple example showing the default behaviour.
demo_fun(1)
#> [1] 42
This example shows that the letter
argument doesn't
affect the output.
demo_fun(1, letter = "b")
#> [1] 42