File: appendVarArgs.R

package info (click to toggle)
r-cran-r.methodss3 1.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 300 kB
  • sloc: sh: 12; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 274 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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")