EraCode practice
Lifecycle: deterministic package initialization with .onLoad
RadvancedMulti-Part
Summary
Practice R package lifecycle/initialization by wiring a one-time setup hook correctly and reasoning about when it runs.
Problem preview
### Goal You’re authoring a package and want a **session-scoped cache environment** created **at namespace load time**. Fill the single gap so that calling (or ) ensures **exactly one** environment i…
Attempt this challenge
Sign in to attempt the full challenge with timed AI grading, hints, and test feedback.