Learn R Programming

rChEA3 (version 0.2.0)

today: Today's Date at Package Load Time

Description

This variable stores the current date (in "yyyymmdd" format) at the time the package is loaded. It is useful for reproducible filenames (e.g., in saveViz()), and is automatically set when the package is attached.

Usage

today

Arguments

Format

A character string (e.g., "20250908").

Examples

Run this code
# Print the date stored at package load
library(rChEA3)
today

# Use it in a filename
paste0(today, "_rCHEA3_plot_meanRank.pdf")

Run the code above in your browser using DataLab