inst/extdata/setup_package.R

# Set the name for your new package
package <- "kwb.dwd"

# Set the path to your new package
pkg_dir <- file.path("~/HAUKE/R", package)

# Create a default package structure
withr::with_dir(pkg_dir, kwb.pkgbuild::use_pkg_skeleton(package))

#kwb.orcid::get_kwb_orcids()

author <- list(
  name = "Hauke Sonnenberg",
  orcid = "0000-0001-9134-2871"
)

description <- list(
  name = package,
  title = "Access Information from Deutscher Wetterdienst (DWD)",
  desc  = paste(
    collapse = "\n",
    "This package provides functions to simplify the access to the data",
    "provided online by the Deutscher Wetterdienst (DWD)."
  )
)

withr::with_dir(pkg_dir, kwb.pkgbuild::use_pkg(
  author,
  description,
  version = "0.0.0.9000",
  stage = "experimental"
))
KWB-R/kwb.dwd documentation built on Sept. 28, 2022, 6:03 p.m.