Learn R Programming

christmas (version 1.4.1)

xmaspeace: Peaceful Christmas tree.

Description

Christmas card (2025 card) including a tree Christmas tree whose leaves are created with the word "peace" in 32 languages. This is the first card in this collection created by interacting with AI (Gemini Flash 2.5).

Usage

xmaspeace(
  year = 2026,
  language = c("english", "spanish", "catalan"),
  seed = NULL
)

Value

A Christmas card plot including a tree and wishing a peaceful year.

Arguments

year

Year to be printed. Default is 2026.

language

Language to be used in the card. One of c("english", "spanish", "catalan"). Default is "english".

seed

Seed for reproducibility of the card. Default is NULL (no seed).

Author

Jose Barrera-Gomez.

Examples

Run this code
# \donttest{
xmaspeace()
# }

Run the code above in your browser using DataLab