src function

Create a "src" object

Create a "src" object

src() is the standard constructor for srcs and is.src() tests.

src(subclass, ...) is.src(x)

Arguments

  • subclass: name of subclass. "src" is an abstract base class, so you must supply this value. src_ is automatically prepended to the class name

  • ...: fields used by object.

    These dots are evaluated with explicit splicing .

  • x: object to test for "src"-ness.

  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2023-11-17