Skip to content

Commit 79a9981

Browse files
committed
doc fix and hdf5r now works with GHA
1 parent 954e644 commit 79a9981

8 files changed

+25
-28
lines changed

.github/workflows/R-CMD-check.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,17 @@ jobs:
5353
${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1
5454
${{ runner.os }}-${{ hashFiles('.github/R-version') }}
5555
${{ runner.os }}-
56+
57+
- name: Build HDF5 - OSX
58+
if: runner.os == 'macOS'
59+
run: |
60+
brew install hdf5
5661
62+
- name: Build HDF5 - LINUX
63+
if: runner.os == 'Linux'
64+
run: |
65+
sudo apt-get install -y libhdf5-dev
66+
5767
- name: Install dependencies
5868
run: |
5969
remotes::install_deps(dependencies = TRUE)

R/multiscaleSVDxpts.R

+2-3
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ sparseDistanceMatrixXY <- function(x, y, k = 3, r = Inf, sigma = NA,
457457
#' which eigenvector off which to base the scale of the y-axis.'
458458
#' @return list with a vector of tangent, curvature, noise dimensionality and a
459459
#' a dataframe containing eigenvalues across scale, in correspondence with r:
460-
#' \itemize{
460+
#' \describe{
461461
#' \item{dim: }{The tangent, curvature and noise dimensionality vector. The
462462
#' data dimensionality is the first entry, the curvature dimensionality exists
463463
#' from the second to the first entry of the noise vector.}
@@ -1572,8 +1572,7 @@ jointSmoothMatrixReconstruction <- function(
15721572
#' set.seed(123)
15731573
#' m <- matrix(rnorm(500), nrow = 5)
15741574
#' result <- optimize_indicator_matrix(m, max_iter = 1000, tol = 1e-6, verbose = TRUE)
1575-
#' print(result$I)
1576-
#' print(result$objective_value)
1575+
#' print(result)
15771576
#' @export
15781577
optimize_indicator_matrix <- function(m, max_iter = 1000, tol = 1e-6, preprocess = TRUE, verbose = FALSE) {
15791578
if (preprocess) {

R/rftResults.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#'
3939
#' @return Outputs a statistical value to be used for threshTypeold a
4040
#' statistical field image
41-
#' \descrbie{
41+
#' \describe{
4242
#' \item{SetStats: }{set-level statistics and number of clusters}
4343
#' \item{ClusterStats: }{cluster-level statistics and descriptors}
4444
#' \item{PeakStats: }{peak-level statistics and descriptor"}

R/zzz_Summary.R

+9-9
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,15 @@ useAsDefault = .all_def, group = "Summary"
153153
)
154154

155155

156-
#' #' @rdname antsImagemath
157-
#' #' @aliases xor,antsImage-method
158-
#' setMethod(f = "xor", signature(x = "antsImage",
159-
#' y = "antsImage"), definition = function(x) {
160-
#' xx = as.array(x)
161-
#' yy = as.array(y)
162-
#' xor(xx, yy)
163-
#' !a2
164-
#' })
156+
# # @rdname antsImagemath
157+
# # @aliases xor,antsImage-method
158+
# setMethod(f = "xor", signature(x = "antsImage",
159+
# y = "antsImage"), definition = function(x) {
160+
# xx = as.array(x)
161+
# yy = as.array(y)
162+
# xor(xx, yy)
163+
# !a2
164+
# })
165165

166166

167167
#' @title Mean for antsImage Objects

man/mean.Rd

-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/multiscaleSVD.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/optimize_indicator_matrix.Rd

+1-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/rftResults.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)