write_accessors: write accessor functions to file

Description Usage Arguments Note

Description

write accessor functions to file

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
write_accessors(info, filename = "./R/accessors.R", append,
  splash = .splashtext)

## S4 method for signature 'list'
write_accessors(info, filename = "./R/accessors.R", append,
  splash = .splashtext)

## S4 method for signature 'ClassAccessors'
write_accessors(info, filename = "./R/accessors.R",
  append, splash = .splashtext)

## S4 method for signature 'SlotMethods'
write_accessors(info, filename = "./R/accessors.R",
  append, splash = .splashtext)

Arguments

info

the object containing information about the accessors to generate

filename

The file to write the generated accessors into.

append

Should the accessors be appended to filename or replace the file entirely.

splash

The splashtext to place at the top of the file

Note

In future versions of S4Coffee, this API will be deprecated after it is unified with the genCode/writeCode workflow, but it remains separate for now.


gmbecker/S4Coffee documentation built on May 17, 2019, 6:42 a.m.