Creation timestamp

Description

Creation timestamp

Usage

1
2
3
4
5
6
7
created(x, ...)

## S4 method for signature 'rule'
created(x, ...)

## S4 method for signature 'expressionset'
created(x, ...)

Arguments

x

and R object

...

Arguments to be passed to other methods

Value

A POSIXct vector.

Methods (by class)

  • expressionset: Creation time of every rule in x

See Also

  • names,expressionset-method, length,expressionset-method

  • description, label, origin variables

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# retrieve properties
v <- validator(turnover > 0, staff.costs>0)

# number of rules in v:
length(v)

# per-rule
created(v)
origin(v)
names(v)

# set properties
names(v)[1] <- "p1"

label(v)[1] <- "turnover positive"
description(v)[1] <- "
According to the official definition,
only positive values can be considered
valid turnovers.
"

# short description is also printed:
v

# print all info for first rule
v[[1]]

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.