show-methods: Show the helloworld class to standard output.

Description Arguments Value See Also Examples

Description

As a cheeky example, this will be different from the print method, such that a helloworld object will print "Hello World!" to screen regardless the character data actually contained inside it.

Arguments

object

A helloworld object.

Value

NULL. print "Hello World!" to screen regardless the character data actually contained inside object.

See Also

print

Examples

1
2
3
4
5
6
mychar <- char2helloworld(c("this","is","my","character","vector"))
mychar
print(mychar)
show(mychar)
mychar
getMethod("print", "helloworld")

joey711/testpkg documentation built on May 19, 2019, 3:01 p.m.