Skip to content

Commit 5258126

Browse files
committed
Polish
1 parent c3fb0cc commit 5258126

2 files changed

Lines changed: 19 additions & 19 deletions

File tree

RcppTskit/R/RcppTskit-package.R

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
# Contains the package description and .onLoad() function
22

33
#' @description
4-
#' `Tskit` enables efficient storage, manipulation, and analysis of
4+
#' \code{Tskit} enables efficient storage, manipulation, and analysis of
55
#' ancestral recombination graphs (ARGs) using succinct tree sequence encoding.
66
#' The tree sequence encoding of an ARG is described in Wong et al. (2024)
7-
#' <doi:10.1093/genetics/iyae100>, while `tskit` project is
7+
#' <doi:10.1093/genetics/iyae100>, while \code{tskit} project is
88
#' described in Jeffrey et al. (2026) <doi:10.48550/arXiv.2602.09649>.
99
#' See also https://tskit.dev for project news, documentation, and tutorials.
10-
#' `Tskit` provides Python, C, and Rust application programming interfaces (APIs).
11-
#' The Python API can be called from R via the `reticulate` package to
10+
#' \code{Tskit} provides Python, C, and Rust application programming interfaces (APIs).
11+
#' The Python API can be called from R via the \code{reticulate} package to
1212
#' load and analyse tree sequences as described at
1313
#' https://tskit.dev/tutorials/tskitr.html.
14-
#' `RcppTskit` provides R access to the `tskit` C API for cases where the
15-
#' `reticulate` option is not optimal; for example; high-performance or low-level
16-
#' work with tree sequences. Currently, `RcppTskit` provides a limited set of
17-
#' R functions because the Python API and `reticulate` already covers most needs.
14+
#' \code{RcppTskit} provides R access to the \code{tskit} C API for cases where the
15+
#' \code{reticulate} option is not optimal; for example; high-performance or low-level
16+
#' work with tree sequences. Currently, \code{RcppTskit} provides a limited set of
17+
#' R functions because the Python API and \code{reticulate} already covers most needs.
1818
#' @keywords internal
1919
#'
2020
#' @useDynLib RcppTskit, .registration = TRUE
2121
#' @importFrom methods is
2222
#' @importFrom R6 R6Class
23-
#' @importFrom Rcpp registerPlugin cppFunction
24-
#' @importFrom reticulate is_py_object import py_module_available py_require
23+
#' @importFrom Rcpp cppFunction registerPlugin
24+
#' @importFrom reticulate import is_py_object py_module_available py_require
2525
#'
2626
#' @examples
2727
#' vignette(package="RcppTskit")
@@ -32,7 +32,7 @@
3232
#' (search for cppFunction).
3333
#
3434
#' In RcppArmadillo, I do not see any use of Rcpp::registerPlugin(). This is
35-
#' likely because Armadillo is header-only, so `depends = "RcppArmadillo"` adds
35+
#' because Armadillo is header-only, so `depends = "RcppArmadillo"` adds
3636
#' include paths but there is no library to link against. RcppTskit is different
3737
#' because we must link against the compiled RcppTskit library file. The plugin
3838
#' (or `PKG_LIBS`) provides linker flags in addition to `depends` for include

RcppTskit/man/RcppTskit-package.Rd

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)