print.token: Print method for token

Description Usage Arguments Examples

View source: R/show.token.R

Description

Print method for token

Usage

1
2
3
4
## S3 method for class 'token'
print(x, reveal = FALSE, ...)

reveal(x, ...)

Arguments

x

an object used to select a method.

reveal

Should the token be revealed

...

further arguments passed to or from other methods

Examples

1
2
3
4
x = "asdf"
class(x) = "token"
print(x)
print(x, reveal = TRUE)

Example output

[1] "asdf"
attr(,"class")
[1] "token"
[1] "asdf"
attr(,"class")
[1] "token"

rscopus documentation built on Sept. 18, 2019, 1:03 a.m.