Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R package "kwb.geosalz" (for documenting workflow used in project "geosalz") #8

Closed
mrustl opened this issue Jul 11, 2018 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@mrustl
Copy link
Member

mrustl commented Jul 11, 2018

Refactor "GeoSalz" repo into R package (see first steps here: ebf75ff)

and subsequently rename repo into "kwb.geosalz"

@mrustl mrustl added the enhancement New feature or request label Jul 11, 2018
@mrustl mrustl self-assigned this Jul 11, 2018
@mrustl
Copy link
Member Author

mrustl commented Jul 11, 2018

Reminder to myself:
Better to create a new repo kwb.geosalz with kwb.pkgbuild instead of renaming this repo to keep the repository small and in the meanwhile dont to break the implemented and referenced workflow.

@mrustl
Copy link
Member Author

mrustl commented Jul 11, 2018

Done. Using kwb.pkgbuild with:

How to build the R package "kwb.geosalz" from scratch


author <- list(
  name = "Michael Rustler",
  orcid = "0000-0003-0647-7726",
  url = "http://mrustl.de"
)

pkg <- list(
  name = "kwb.geosalz",
  title = 'R Package for Documenting Workflow Used in Project "geosalz"',
  desc = 'R Package for Documenting Workflow Used in Project "geosalz".'
)

usethis::create_package(path = file.path("..", pkg$name))
fs::file_delete(path = "DESCRIPTION")

kwb.pkgbuild::use_pkg(author,
  pkg,
  version = "0.1.0.9000",
  stage = "experimental"
)


usethis::use_vignette("Workflow2")

kwb.pkgbuild::use_news_md(
  pkg_name = pkg$name,
  pkg_version = "0.1.0.9000"
)

pkg_dependencies <- c(
  "cellranger",
  "crayon",
  "data.table",
  "dplyr",
  "fs",
  "janitor",
  "kwb.utils",
  "magrittr",
  "readxl",
  "stringr",
  "tidyr"
)
sapply(pkg_dependencies, usethis::use_package)

@mrustl mrustl closed this as completed Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant