add_repo.R

temp <- tempdir()
pkgbuild::build(dest_path = temp)

repo <- "docs"
unlink(repo, recursive = TRUE)
dir.create(repo)

miniCRAN::addLocalPackage("metR", pkgPath = temp, path = repo)
eliocamp/metR documentation built on April 22, 2024, 8:40 p.m.