jenny: Set the Only Reproducible Seed That Matters

View source: R/jenny.R

jennyR Documentation

Set the Only Reproducible Seed That Matters

Description

jenny() sets a reproducible seed of 8675309. It is the only reproducible seed you should use.

Usage

jenny(x = 8675309)

Arguments

x

a vector

Details

jenny() comes with some additional perks if you have the emo package installed. The package is optional.

Value

When x is not specified or is 8675309, the function sets a reproducible seed of 8675309 and returns a nice message congratulating you for it. If x is not 8675309, the function sets no reproducible seed and gently admonishes you for wasting its time.

Examples


jenny() # will work and reward you for it
jenny(12345) # will not work and will result in a stern message

stevemisc documentation built on Sept. 11, 2024, 5:23 p.m.