Skip to content

Commit

Permalink
Moving files around
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Aug 8, 2021
1 parent 02b828e commit f02f682
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 19 deletions.
7 changes: 3 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Description: Create, read and write 'GEXF' (Graph Exchange 'XML' Format) graph
'javascript' library) and interact with the 'igraph' package.
URL: https://gvegayon.github.io/rgexf
BugReports: http://github.com/gvegayon/rgexf/issues
Imports:
Imports:
XML,
igraph,
grDevices,
Expand All @@ -34,8 +34,7 @@ LazyLoad: yes
RoxygenNote: 7.0.2
Suggests: knitr,
rmarkdown,
testthat,
covr
tinytest,
covr, tinytest
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)

7 changes: 3 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ FROM rocker/r-base:latest

RUN apt-get update && \
apt-get install -y --no-install-recommends \
r-cran-ape r-cran-coda r-cran-mass r-cran-rmarkdown r-cran-knitr \
r-cran-xml2 r-cran-covr r-cran-tinytest && \
Rscript -e 'utils::install.packages("fmcmc")'
r-cran-xml r-cran-igraph r-cran-rmarkdown r-cran-knitr \
r-cran-covr r-cran-tinytest

RUN Rscript -e 'utils::install.packages("AUC")'
RUN Rscript -e 'utils::install.packages("servr")'

CMD ["bash"]

6 changes: 2 additions & 4 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
build:
docker build -t uscbiostats/aphylo:release -f Dockerfile . && \
docker build -t uscbiostats/aphylo:devel -f Dockerfile.dev .
docker build -t gvegayon/rgexf:release -f Dockerfile .
push: build
docker push uscbiostats/aphylo:release && \
docker push uscbiostats/aphylo:devel
docker push gvegayon/rgexf:release
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions inst/tinytest/test_rgexf.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# Placeholder with simple test
expect_equal(1 + 1, 2)

4 changes: 0 additions & 4 deletions tests/testthat.R

This file was deleted.

3 changes: 0 additions & 3 deletions tests/testthat/test-examples.r

This file was deleted.

5 changes: 5 additions & 0 deletions tests/tinytest.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

if ( requireNamespace("tinytest", quietly=TRUE) ){
tinytest::test_package("rgexf")
}

0 comments on commit f02f682

Please sign in to comment.