Skip to content

Commit 1ab4372

Browse files
committed
revise description + address new cran checks + rm refs to 'simplextree' class
1 parent 88c9777 commit 1ab4372

14 files changed

Lines changed: 33 additions & 31 deletions

DESCRIPTION

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,19 @@ Authors@R: c(
1212
given = "Yara",
1313
family = "Skaf",
1414
role = c("ctb")))
15-
Description: This package facilitates coercion (conversion) between data
16-
structures used by different packages to represent simplicial complexes.
15+
Description: Computational topology, which includes topological data analysis
16+
(TDA), makes pervasive use of abstract mathematical objects called
17+
simplicial complexes; see Edelsbrunner and Harer (2010)
18+
<doi:10.1090/mbk/069>.
19+
Several R packages and other software libraries used through an R interface
20+
construct and use data structures that represent simplicial complexes,
21+
including mathematical graphs viewed as 1-dimensional complexes.
22+
This package provides coercers (converters) between these data structures.
1723
Currently supported structures are complete lists of simplices as used by
18-
'TDA'; simplex tree instances, both as used by 'simplextree' and by Python
19-
GUDHI (by way of 'reticulate'); and the graph/network classes of 'igraph'
20-
and 'network' by way of the 'intergraph' package.
24+
'TDA'; the simplex trees of Boissonnat and Maria (2014)
25+
<doi:10.1007/s00453-014-9887-3> as implemented in 'simplextree' and in
26+
Python GUDHI (by way of 'reticulate'); and the graph classes of 'igraph' and
27+
'network', by way of the 'intergraph' package.
2128
Suggests:
2229
TDA,
2330
simplextree (>= 0.9.1),

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This first release includes converters between the following data structures:
44

55
* complete lists of simplices, used by the {TDA} package
6-
* simplex tree instances of class 'Rcpp_SimplexTree' or 'simplextree',
6+
* simplex tree instances of class 'Rcpp_SimplexTree',
77
provided by the {simplextree} package
88
* simplex trees as implemented in Python GUDHI through the {reticulate} interface
99
* objects of class 'igraph', provided by the {igraph} package

R/as-simplextree.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#' @title Coerce objects to class 'simplextree'
1+
#' @title Coerce objects to class 'Rcpp_SimplexTree'
22
#'
33
#' @description Coerce objects to 'Rcpp_SimplexTree' objects, as implemented in
44
#' [the simplextree package][simplextree::simplextree-package].

R/interplex-package.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#' * a complete list of simplices,
1818
#' as stored as `cmplx` values of filtration objects
1919
#' in [the TDA package][TDA::TDA-package]
20-
#' * an object of class 'Rcpp_SimplexTree' or 'simplextree'
20+
#' * an object of class 'Rcpp_SimplexTree'
2121
#' as implemented
2222
#' in [the simplextree package][simplextree::simplextree-package]
2323
#' * an object of class 'gudhi.simplex_tree.SimplexTree'

R/utils.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ensure_index <- function(x, index) {
2727
)
2828
}
2929

30-
# get list of simplices from a 'simplextree' object
30+
# get list of simplices from a 'Rcpp_SimplexTree' object
3131
simplextree_list <- function(x) {
3232
# extract list of fixed-dimension simplex matrices
3333
simps <- x$as_list()

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ remotes::install_github("corybrunson/interplex")
1717
{interplex} includes converters between the following data structures:
1818

1919
* complete lists of simplices, used by the [{TDA}](https://cran.r-project.org/package=TDA) package
20-
* simplex tree instances of class 'Rcpp_SimplexTree' or 'simplextree',
20+
* simplex tree instances of class 'Rcpp_SimplexTree',
2121
provided by the [{simplextree}](https://github.com/peekxc/simplextree) package
2222
* simplex trees in [Python GUDHI](https://gudhi.inria.fr/python/latest/) imported using the [{reticulate}](https://rstudio.github.io/reticulate/) package
2323
* objects of class 'igraph', provided by the [{igraph}](https://igraph.org/r/) package

cran-comments.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ There were two NOTEs. One was due to this being a new submission.
1616

1717
The other "[f]ound the following files/directories:" and listed "'lastMiKTeXException'". A web search led me to [{rhub} issue #503](https://github.com/r-hub/rhub/issues/503), which suggests that the issue can be ignored.
1818

19-
The check also flagged the unrecognized word "simplicial", pluralized "simplices".
20-
This is a standard term in discrete topology.
19+
In addition to several surnames, the check also flagged the unrecognized words "GUDHI", which is a Python package; "TDA", the standard initialism for "topological data analysis"; and "simplicial", pluralized "simplices", which is a standard term in discrete topology.
2120

2221
### Win-Builder
2322

@@ -34,7 +33,3 @@ The method `as_py_gudhi.Rcpp_SimplexTree()` operates differently depending on th
3433
## Reverse dependencies
3534

3635
This is a new submission with no reverse dependencies.
37-
38-
## References
39-
40-
There are no references (other than dependencies) to cite for the methods in this package. The data structures coerced between are documented, including with references, in their respective packages.

man/as_simplextree.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/interplex.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-cmplx-list.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test_that("list-to-'network' conversion preserves vertices", {
2525
expect_true(all(sort_el(cp_rf_el) == sort_el(network::as.edgelist(nw_rf))))
2626
})
2727

28-
test_that("list-to-'simplextree' conversion preserves 0,1-simplices", {
28+
test_that("list-to-'Rcpp_SimplexTree' conversion preserves 0,1-simplices", {
2929
skip_if_not_installed("simplextree")
3030
st_rf <- as_simplextree(cp_rf)
3131
expect_equal(cp_rf_vc, st_rf$n_simplices[[1L]])

0 commit comments

Comments
 (0)