Skip to content

Commit 69a1fbe

Browse files
committed
WIP: documentation updates
1 parent ffe7b9e commit 69a1fbe

File tree

384 files changed

+10632
-34
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

384 files changed

+10632
-34
lines changed

Dockerfile

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ RUN R_REMOTES_NO_ERRORS_FROM_WARNINGS=true \
2222
'RcppEigen', \
2323
'magrittr', \
2424
'rsvd', \
25+
'ggpubr', \
26+
'fpc', \
27+
'reshape2', \
28+
'cluster', \
29+
'gridExtra', \
2530
'magic', \
2631
'psych'), dependencies = TRUE )"
2732

Makefile

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
VERSION = $(shell grep ^Version DESCRIPTION | sed s/Version:\ //)
2+
3+
doc:
4+
R --slave -e 'library(roxygen2); roxygenise()'
5+
R --slave -e 'pkgdown::build_site()'
6+
-git add --all man/*.Rd
7+
8+
test:
9+
R CMD INSTALL --install-tests .
10+
R --slave -e 'Sys.setenv(NOT_CRAN="true"); library(testthat); setwd(file.path(.libPaths()[1], "subtyper", "tests")); system.time(test_check("subtyper", filter="${file}", reporter=ifelse(nchar("${r}"), "${r}", "summary")))'
11+
12+
deps:
13+
R --slave -e 'install.packages(c("codetools", "testthat", "devtools", "roxygen2", "knitr"), repo="http://cran.at.r-project.org", lib=ifelse(nchar(Sys.getenv("R_LIB")), Sys.getenv("R_LIB"), .libPaths()[1]))'
14+
15+
build: doc
16+
R CMD build .
17+
18+
check: build
19+
-export _R_CHECK_CRAN_INCOMING_REMOTE_=FALSE && R CMD check --as-cran subtyper_$(VERSION).tar.gz
20+
rm -rf subtyper.Rcheck/
21+
22+
man: doc
23+
R CMD Rd2pdf man/ --force
24+
25+
md:
26+
R CMD INSTALL --install-tests .
27+
mkdir -p inst/doc
28+
R -e 'setwd("vignettes"); lapply(dir(pattern="Rmd"), knitr::knit, envir=globalenv())'
29+
mv vignettes/*.md inst/doc/
30+
-cd inst/doc && ls | grep .md | xargs -n 1 sed -i '' 's/.html)/.md)/g'
31+
-cd inst/doc && ls | grep .md | xargs -n 1 egrep "^.. Error"
32+
33+
build-vignettes: md
34+
R -e 'setwd("inst/doc"); lapply(dir(pattern="md"), function(x) markdown::markdownToHTML(x, output=sub("\\\\.md", ".html", x)))'
35+
cd inst/doc && ls | grep .html | xargs -n 1 sed -i '' 's/.md)/.html)/g'
36+
37+
covr:
38+
R --slave -e 'library(covr); cv <- package_coverage(); df <- covr:::to_shiny_data(cv)[["file_stats"]]; cat("Line coverage:", round(100*sum(df[["Covered"]])/sum(df[["Relevant"]]), 1), "percent\\n")'

docs/404.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/LICENSE-text.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Loading

docs/articles/index.html

+36-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/authors.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/code_of_conduct.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/index.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/pkgdown.yml

+8-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ pandoc: 3.2.1
22
pkgdown: 2.0.7
33
pkgdown_sha: ~
44
articles:
5+
ANTsR: ANTsR.html
6+
MultiChannel: MultiChannel.html
7+
RestingBOLD: RestingBOLD.html
8+
antsrTransform: antsrTransform.html
9+
deformationSimulation: deformationSimulation.html
10+
iMath: iMath.html
11+
multivarTemplateCoordinates: multivarTemplateCoordinates.html
512
simlr_interpretation: simlr_interpretation.html
6-
last_built: 2024-08-11T14:40Z
13+
last_built: 2024-08-11T15:13Z
714

docs/reference/ANTsR.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/DesikanKillianyTourville.html

+21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)