tests/testthat/test-misc.R

test_that("Data normalization completes", {
  nv <- 1000
  nt <- 170
  x <- BayesBrainMap:::norm_BOLD(matrix(rnorm(nv*nt), nrow=nv))
  testthat::expect_true(all(dim(x) == c(nv, nt)))
})

Try the BayesBrainMap package in your browser

Any scripts or data that you put into this service are public.

BayesBrainMap documentation built on Aug. 8, 2025, 7:25 p.m.