Skip to content

Usethis R Templates for DynastyProcess

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

dynastyprocess/usetheprocess

usetheprocess

Lifecycle: experimental

This package sets up a usethis-like framework for R and app dev.

Installation

You can install usetheprocess from either r-universe or remotes:

install.packages("usetheprocess",repos = "https://dynastyprocess.r-universe.dev")

# or

# install.packages("remotes")
remotes::install_github("dynastyprocess/usetheprocess") 

Usage

Create the framework for a new Shiny app by running:

usetheprocess::app_create(path = "demo/new_app")
#> -- Creating dir ----------------------------------------------------------------
#> v Created app directory
#> v RStudio project initialisation
#> -- Copying app skeleton --------------------------------------------------------
#> v Copied app skeleton
#> v Substituted new_app for AppName
#> demo/new_app
#> +-- app.R
#> +-- DESCRIPTION
#> +-- Dockerfile
#> +-- dp.css
#> +-- LICENSE
#> +-- LICENSE.md
#> +-- NEWS.md
#> +-- new_app.Rproj
#> +-- R
#> |   +-- 0_packages.R
#> |   \-- 1_ui_functions.R
#> \-- tests
#>     \-- test_pipeline.R
#> -- Done ------------------------------------------------------------------------

and it will build an app skeleton.

Create the skeleton of a new package by running: Create the framework for a new Shiny app by running:

usetheprocess::pkg_create(path = "demo/new_pkg")
#> -- Creating app directory ------------------------------------------------------
#> v Created app directory
#> v RStudio project initialisation
#> -- Copying package skeleton ----------------------------------------------------
#> v Copied package skeleton
#> v Substituted new_pkg for PkgName
#> demo/new_pkg
#> +-- codecov.yml
#> +-- DESCRIPTION
#> +-- LICENSE
#> +-- LICENSE.md
#> +-- man
#> |   \-- pipe.Rd
#> +-- NAMESPACE
#> +-- new_pkg.Rproj
#> +-- pkgdown
#> |   +-- extra.css
#> |   \-- _pkgdown.yml
#> +-- PkgName.Rproj
#> +-- R
#> |   \-- utils.R
#> +-- README.md
#> +-- README.Rmd
#> \-- tests
#>     +-- testthat
#>     |   \-- setup.R
#>     \-- testthat.R
#> -- Done ------------------------------------------------------------------------

About

Usethis R Templates for DynastyProcess

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •