Something went wrong. Try again.
spatially-constrained clustering in R
Something went wrong. Try again.
spatialcluster makefile
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354RFILE = READMEVIGNETTE = spatialcluster
all: help
doc: ## Update package documentation with `roxygen2` Rscript -e 'roxygen2::roxygenise()'
init: ## Initialize pkgdown site echo "pkgdown::init_site()" | R --no-save -q
pkgdown: ## Build entire pkgdown site echo "pkgdown::build_site()" | R --no-save -q
pkgdowncheck: ## Check 'pkgdown' site structure echo "pkgdown::check_pkgdown()" | R --no-save -q
vignette: ## Build pkgdown article echo "pkgdown::build_article('$(VIGNETTE)',quiet=FALSE)" | R --no-save -q
knith: $(RFILE)-src.Rmd ## Render README as HTML echo "rmarkdown::render('$(RFILE)-src.Rmd',output_file='$(RFILE).html')" | R --no-save -q
knitr: $(RFILE)-src.Rmd ## Render README as markdown echo "rmarkdown::render('$(RFILE)-src.Rmd',output_file='$(RFILE).md')" | R --no-save -q
open: ## Open main HTML vignette in browser xdg-open docs/articles/$(VIGNETTE).html &
allcon: ## Run 'allcontributors::add_contributors' Rscript -e 'allcontributors::add_contributors(ncols = 6L, check_urls = FALSE)'
check: ## Run `rcmdcheck` Rscript -e 'rcmdcheck::rcmdcheck()'
test: ## Run test suite Rscript -e 'testthat::test_local()'
pkgcheck: ## Run `pkgcheck` and print results to screen. Rscript -e 'library(pkgcheck); checks <- pkgcheck(); print(checks); summary (checks)'
urls: ## Apply 'urlchecker::url_update()' to update all URLs Rscript -e 'urlchecker::url_update()'
data: ## Run 'data-raw/release-data-script' to (re-)generate release data date; time Rscript "data-raw/release-data-script.R"
clean: ## Clean all junk files, including all pkgdown docs rm -rf *.html *.png README_cache docs/
help: ## Show this help @printf "Usage:\033[36m make [target]\033[0m\n" @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'