certificate_df {One4All}R Documentation

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())

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.

Value

A data frame with certificate information.

Examples


certificate_df(x = list(data_formatted = data.frame(a = 1:3, b = 4:6),
                        rules = validate::validator(a > 0, b > 0)),
               time = Sys.time())
               


[Package One4All version 0.5 Index]