Skip to content

Commit

Permalink
Working on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Dec 3, 2024
1 parent cc3aa9a commit 6d41be6
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 12 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,7 @@ docker-check-all:
APHYLO_ATLAS_TEST=true \
R CMD check --ignore-vignettes aphylo_*.tar.gz

docker-interactive:
podman run --mount type=bind,source=$(PWD),target=/mnt -w /mnt -it \
rocker/geospatial:4.4.0 bash

3 changes: 1 addition & 2 deletions R/aphylo-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ release_questions <- function() {
#'
#' Statistical Inference in Annotated Phylogenetic Trees
#'
#' @docType package
#' @name aphylo-package
#'
NULL
"_PACKAGE"

.onLoad <- function(libname, pkgname) {
options(
Expand Down
4 changes: 2 additions & 2 deletions R/data-management.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
#' \item{pseq}{Integer vector. The pruning sequence (postorder).}
#' \item{reduced_pseq}{Integer vector. The reduced version of `pseq`.}
#' \item{Ntips.annotated}{Integer. Number of tips with annotations.}
#' \item{tip.type}{Binary of length [Ntip()]. 0 means duplication and 1 speciation.}
#' \item{tip.type}{Binary of length [Nnode()]. 0 means duplication and 1 speciation.}
#' \item{tip.type}{Binary of length [ape::Ntip()]. 0 means duplication and 1 speciation.}
#' \item{tip.type}{Binary of length [ape::Nnode()]. 0 means duplication and 1 speciation.}
#'
#' @examples
#' # A simple example ----------------------------------------------------------
Expand Down
16 changes: 10 additions & 6 deletions docker/Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
ifndef CNTR
CNTR = docker
endif

build:
docker build -t uscbiostats/aphylo:release -f Dockerfile . && \
docker build -t uscbiostats/aphylo:devel -f Dockerfile.dev .
$(CNTR) build -t uscbiostats/aphylo:release -f Dockerfile . && \
$(CNTR) build -t uscbiostats/aphylo:devel -f Dockerfile.dev .

clang:
docker build -t uscbiostats/aphylo:clang -f Dockerfile-clang .
$(CNTR) build -t uscbiostats/aphylo:clang -f Dockerfile-clang .

flexiblas:
docker build -t uscbiostats/aphylo:flexiblas -f Dockerfile.flexiblas .
$(CNTR) build -t uscbiostats/aphylo:flexiblas -f Dockerfile.flexiblas .

push: build
docker push uscbiostats/aphylo:release && \
docker push uscbiostats/aphylo:devel
$(CNTR) push uscbiostats/aphylo:release && \
$(CNTR) push uscbiostats/aphylo:devel
4 changes: 4 additions & 0 deletions inst/NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Changes in aphylo version 0.3-4

- Fixing documentation (CRAN request).

Changes in aphylo version 0.3-3

- Removing C++ requirement as requested by CRAN.
Expand Down
4 changes: 2 additions & 2 deletions man/aphylo-class.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6d41be6

Please sign in to comment.