Three options: clean, cleand and reinstall and rebuild which cleans, reinstall and rebuilds.

gp_clean(background = FALSE, rebuild = FALSE, reinstall = TRUE)

Arguments

background

run command in the background, defaults to FALSE just to keep user aware.

rebuild

whether to rebuild the front, defaults to FALSE

reinstall

should it just clean node_modules & reinstall them, defaults to TRUE

Examples

if (FALSE) { gp_clean() }