Learn R Programming

One4All (version 0.5)

certificate_df: Generate a data frame with certificate information

Description

This function creates a data frame with certificate information including the current time, data and rule hashes, package version, and web hash.

Usage

certificate_df(x, time = Sys.time())

Value

A data frame with certificate information.

Arguments

x

A list containing `data_formatted` and `rules` elements.

time

the time the certificate is generated, can be passed a value or uses current system time.

Examples

Run this code
# \donttest{
certificate_df(x = list(data_formatted = data.frame(a = 1:3, b = 4:6),
                        rules = validate::validator(a > 0, b > 0)),
               time = Sys.time())
               # }

Run the code above in your browser using DataLab