|
<%------------------------------------------------------------------- |
|
Rscript -e R.rsp::rfile <url> |
|
-------------------------------------------------------------------%> |
|
<%@meta postprocess="FALSE"%> |
|
<% |
|
account <- "HenrikBengtsson" |
|
|
|
cran_pkgs <- c( |
|
# R.* packages |
|
"dChipIO", |
|
"doFuture", |
|
"future", |
|
"future.apply", |
|
"future.callr", |
|
"future.BatchJobs", |
|
"future.batchtools", |
|
"future.tests", |
|
"globals", |
|
"listenv", |
|
"parallelly", |
|
"progressr", |
|
"R.methodsS3", |
|
"R.oo", |
|
"R.utils", |
|
"R.cache", |
|
"R.devices", |
|
"R.huge", |
|
"R.rsp", |
|
"R.filesets", |
|
"R.matlab", |
|
# aroma.* packages |
|
"aroma.core", |
|
"aroma.affymetrix", |
|
"aroma.apd", |
|
"aroma.cn", |
|
"calmate", |
|
"ACNE", |
|
# Miscellaneous packages |
|
"matrixStats", |
|
"PSCBS", |
|
"profmem", |
|
"startup", |
|
"TopDom" |
|
) |
|
bioc_pkgs <- c( |
|
"aroma.light", |
|
"affxparser", |
|
"illuminaio", |
|
"QDNAseq" |
|
) |
|
non_cran_pkgs <- c( |
|
"R.archive", |
|
"R.menu", |
|
"aroma.cn.eval", |
|
"aroma.seq", |
|
"cnagIO", |
|
"sfit", |
|
"expectile" |
|
) |
|
pkgs <- sort(c(cran_pkgs, bioc_pkgs, non_cran_pkgs)) |
|
|
|
coveralls <- c("aroma.apd", "aroma.cn.eval") |
|
codecovs <- c("doFuture", "future", "future.apply", "future.callr", "future.BatchJobs", "future.batchtools", "profmem", "startup", "R.filesets", "listenv", "globals", "TopDom", "PSCBS", "aroma.light", "illuminaio") |
|
%> |
|
|
|
<% |
|
url_to_gist <- function(url) { |
|
pattern <- "^https://gist.githubusercontent.com/(.*)/(.*)/raw/(.*)" |
|
if (regexpr(pattern, url) == -1) return(url) |
|
gsub(pattern, "gist://\\1/\\2/\\3", url) |
|
} |
|
%> |
|
|
|
# R package statuses |
|
|
|
GitHub account: [<%=account%>](https://www.github.com/<%=account%>) |
|
|
|
<table> |
|
<tr> |
|
<th></th> |
|
<th>Package</th> |
|
<th><a href="https://github.com/actions/">GitHub Actions</a></th> |
|
<th><a href="https://travis-ci.org/">Travis CI</a></th> |
|
<th><a href="https://codecov.io/">Test</a> <a href="https://coveralls.io/">coverage</a></th> |
|
<th><a href="http://cran.r-project.org/">CRAN</a></th> |
|
<th><a href="http://www.bioconductor.org/">BioC</a></th> |
|
</tr> |
|
<% for (ii in seq_along(pkgs)) { %> |
|
<% pkg <- pkgs[ii] %> |
|
<% codecov <- !is.element(pkg, coveralls) %> |
|
<tr> |
|
<td style="text-align: right"><%=ii%>.</td> |
|
<td><a href="https://github.com/<%=account%>/<%=pkg%>"><%=pkg%></a></td> |
|
<td><a href="https://github.com/<%=account%>/<%=pkg%>/actions?query=workflow%3AR-CMD-check"><img src="https://github.com/<%=account%>/<%=pkg%>/workflows/R-CMD-check/badge.svg?branch=develop" alt="GitHub Actions status"></a></td> |
|
<td><a href="https://travis-ci.org/<%=account%>/<%=pkg%>"><img src="https://travis-ci.org/<%=account%>/<%=pkg%>.svg?branch=master" alt="TravisCI build status"></a></td> |
|
<td> |
|
<% if (codecov) { %> |
|
<a href="https://codecov.io/gh/<%=account%>/<%=pkg%>"><img src="https://codecov.io/gh/<%=account%>/<%=pkg%>/branch/develop/graph/badge.svg" alt="Coverage Status"/></a> |
|
<% } else { %> |
|
<a href="https://coveralls.io/r/<%=account%>/<%=pkg%>"><img src="https://coveralls.io/repos/<%=account%>/<%=pkg%>/badge.svg?branch=develop" alt="Coverage Status"/></a> |
|
<% } %> |
|
</td> |
|
<td> |
|
<% if (pkg %in% cran_pkgs) { %> |
|
<a href="http://cran.r-project.org/web/checks/check_results_<%=pkg%>.html"><img border="0" src="http://www.r-pkg.org/badges/version/<%=pkg%>" alt="CRAN version"></a> |
|
<% } else { %> |
|
- |
|
<% } %> |
|
</td> |
|
<td> |
|
<% if (pkg %in% bioc_pkgs) { %> |
|
<a href="http://master.bioconductor.org/checkResults/devel/bioc-LATEST/<%=pkg%>/"><img border="0" src="http://bioconductor.org/shields/build/devel/bioc/<%=pkg%>.svg" alt="Build status"></a> |
|
<% } else { %> |
|
- |
|
<% } %> |
|
</td> |
|
</tr> |
|
<% } # for (pkg ...) %> |
|
</table> |
|
|
|
|
|
|
|
## Appendix |
|
|
|
This report was built by: |
|
```s |
|
<% url <- url_to_gist('<%@meta name="source"%>') %> |
|
source('http://callr.org/rfile#<%=url%>') |
|
``` |