Skip to content

Commit 18db035

Browse files
committed
Set up auto update docker [docker]
1 parent f35efae commit 18db035

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

.github/workflows/update-docker.yml

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
#
6+
# See https://github.com/r-lib/actions/tree/master/examples#readme for
7+
# additional example workflows available for the R community.
8+
9+
name: DockerHub aphylo
10+
11+
on:
12+
push:
13+
schedule:
14+
cron: '0 0 * * MON'
15+
16+
env:
17+
REPO: uscbiostats/aphylo
18+
19+
20+
jobs:
21+
build:
22+
runs-on: Ubuntu-latest
23+
24+
steps:
25+
- uses: actions/checkout@v2
26+
if: ${{ contains(github.event.head_commit.message, '[docker]') }}
27+
28+
- name: Login to Docker Hub
29+
if: ${{ contains(github.event.head_commit.message, '[docker]') }}
30+
uses: docker/login-action@v1
31+
with:
32+
username: ${{ secrets.DOCKER_USER }}
33+
password: ${{ secrets.DOCKER_TOKEN }}
34+
35+
- name: Build container
36+
if: ${{ contains(github.event.head_commit.message, '[docker]') }}
37+
run: |
38+
cd docker
39+
make build
40+
41+
- name: Upload
42+
if: ${{ contains(github.event.head_commit.message, '[docker]') }}
43+
run: |
44+
cd docker
45+
make push

src/RcppExports.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
using namespace Rcpp;
77

8+
#ifdef RCPP_USE_GLOBAL_ROSTREAM
9+
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
10+
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
11+
#endif
12+
813
// new_aphylo_pruner
914
SEXP new_aphylo_pruner(const std::vector< std::vector< unsigned int > >& edgelist, const std::vector< std::vector< unsigned int > >& A, const std::vector< unsigned int >& types, unsigned int nannotated);
1015
RcppExport SEXP _aphylo_new_aphylo_pruner(SEXP edgelistSEXP, SEXP ASEXP, SEXP typesSEXP, SEXP nannotatedSEXP) {

vignettes/example.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: "George G. Vega Yon"
44
date: "August 18, 2021"
55
output: rmarkdown::html_vignette
66
vignette: >
7-
%\VignetteIndexEntry{Vignette Title}
7+
%\VignetteIndexEntry{Simulation and Inference}
88
%\VignetteEngine{knitr::rmarkdown}
99
%\VignetteEncoding{UTF-8}
1010
---

0 commit comments

Comments
 (0)