Skip to content

Use 'native' constructors and S4 slot accessors #121

@gothub

Description

@gothub

These items were originally mentioned in issue #119, raised by @cboettig, but deserve their own issue.

These changes should be applied to the entire package (and potentially rdataone package).

What is the implementation of 'native' constructors for S4 classes?

  • is this simply a function that calls the new classname and returns an object so the user doesn't have to specify new?
  • is there a 'best practices' document for S4 classes? http://adv-r.had.co.nz/S4.html doesn't describe 'native' constructions

The Advanced R S4 chapter does describe S4 slot accessors, which should be easy to implement and not break the current API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions