tests/appendVarArgs.R

library("R.methodsS3")

message("TESTING: appendVarArgs()...")

foobar <- function(a=1) print(a)
print(foobar)

foobar <- appendVarArgs(foobar)
print(foobar)

foobar <- appendVarArgs(foobar)
print(foobar)

# Cleanup
rm(list=ls())

message("TESTING: appendVarArgs()...done")

Try the R.methodsS3 package in your browser

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

R.methodsS3 documentation built on June 14, 2022, 1:06 a.m.