set_lb_date {libbib} | R Documentation |
Set special libbib date attribute on object
Description
Takes an object and a date and sets a special attribute, "lb.date" by reference
Usage
set_lb_date(x, value)
Arguments
x |
An object to set the attribute on |
value |
Either a value of class |
Value
Nothing, since the object is modified by reference.
Examples
set_lb_date(mtcars, "2021-05-08")
attributes(mtcars)$lb.date
# [1] "2021-05-08
set_lb_date(mtcars, Sys.Date())
[Package libbib version 1.6.4 Index]