This function assembles the required npm package files to then build from.

gp_create(path = getwd())

Arguments

path

character: new/existing path of the target gp app.

Examples

p = file.path(tempdir(), "gp_app") gp_create(p)
#> Creating directory: /tmp/RtmptyG4FH/gp_app
#> To build/run app, set working directory to: /tmp/RtmptyG4FH/gp_app
#> Standard output from create-react-app works. #> You can run gp_ functions from directory: /tmp/RtmptyG4FH/gp_app #> To build the front end run: gp_build() #> To run the geoplumber app: gp_plumb() #> Happy coding.
#> Erasing '/tmp/RtmptyG4FH/gp_app' ...