Prereqs:
- R 4.5.x
- golem 0.5.1 from CRAN
Initialize from the parent directory of the repo (creates the repo root as the package root): R -q -e "options(usethis.allow_nested_project = TRUE); golem::create_golem('OMNI_OMICS_HUB', open = FALSE, package_name = 'OmniOmicsHub')"
Notes:
- Package name is OmniOmicsHub; repo root is the package root (no nested folder).
renv::init()is intentionally deferred and will be done in Story 1.6 after the project is properly set up.
Failure recovery:
- If you mistakenly created a nested folder (e.g.,
OMNI_OMICS_HUB/inside the repo root), delete that folder before retrying. - Do not delete the repo root. Remove scaffolded outputs instead:
R/,inst/,man/,tests/,dev/DESCRIPTION,NAMESPACE,.Rbuildignore,.here,OMNI_OMICS_HUB.Rproj- any generated
renv/orrenv.lock
- Then re-run
create_golem()from the parent directory.