Skip to content

Commit

Permalink
doc fix and hdf5r now works with GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Dec 4, 2024
1 parent 954e644 commit 79a9981
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 28 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,17 @@ jobs:
${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1
${{ runner.os }}-${{ hashFiles('.github/R-version') }}
${{ runner.os }}-
- name: Build HDF5 - OSX
if: runner.os == 'macOS'
run: |
brew install hdf5
- name: Build HDF5 - LINUX
if: runner.os == 'Linux'
run: |
sudo apt-get install -y libhdf5-dev
- name: Install dependencies
run: |
remotes::install_deps(dependencies = TRUE)
Expand Down
5 changes: 2 additions & 3 deletions R/multiscaleSVDxpts.R
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ sparseDistanceMatrixXY <- function(x, y, k = 3, r = Inf, sigma = NA,
#' which eigenvector off which to base the scale of the y-axis.'
#' @return list with a vector of tangent, curvature, noise dimensionality and a
#' a dataframe containing eigenvalues across scale, in correspondence with r:
#' \itemize{
#' \describe{
#' \item{dim: }{The tangent, curvature and noise dimensionality vector. The
#' data dimensionality is the first entry, the curvature dimensionality exists
#' from the second to the first entry of the noise vector.}
Expand Down Expand Up @@ -1572,8 +1572,7 @@ jointSmoothMatrixReconstruction <- function(
#' set.seed(123)
#' m <- matrix(rnorm(500), nrow = 5)
#' result <- optimize_indicator_matrix(m, max_iter = 1000, tol = 1e-6, verbose = TRUE)
#' print(result$I)
#' print(result$objective_value)
#' print(result)
#' @export
optimize_indicator_matrix <- function(m, max_iter = 1000, tol = 1e-6, preprocess = TRUE, verbose = FALSE) {
if (preprocess) {
Expand Down
2 changes: 1 addition & 1 deletion R/rftResults.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#'
#' @return Outputs a statistical value to be used for threshTypeold a
#' statistical field image
#' \descrbie{
#' \describe{
#' \item{SetStats: }{set-level statistics and number of clusters}
#' \item{ClusterStats: }{cluster-level statistics and descriptors}
#' \item{PeakStats: }{peak-level statistics and descriptor"}
Expand Down
18 changes: 9 additions & 9 deletions R/zzz_Summary.R
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,15 @@ useAsDefault = .all_def, group = "Summary"
)


#' #' @rdname antsImagemath
#' #' @aliases xor,antsImage-method
#' setMethod(f = "xor", signature(x = "antsImage",
#' y = "antsImage"), definition = function(x) {
#' xx = as.array(x)
#' yy = as.array(y)
#' xor(xx, yy)
#' !a2
#' })
# # @rdname antsImagemath
# # @aliases xor,antsImage-method
# setMethod(f = "xor", signature(x = "antsImage",
# y = "antsImage"), definition = function(x) {
# xx = as.array(x)
# yy = as.array(y)
# xor(xx, yy)
# !a2
# })


#' @title Mean for antsImage Objects
Expand Down
11 changes: 0 additions & 11 deletions man/mean.Rd

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

2 changes: 1 addition & 1 deletion man/multiscaleSVD.Rd

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

3 changes: 1 addition & 2 deletions man/optimize_indicator_matrix.Rd

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

2 changes: 1 addition & 1 deletion man/rftResults.Rd

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

0 comments on commit 79a9981

Please sign in to comment.