tests/run_templateICAr_tests.R

# Build --> Install and Restart

# [Edit these]
## path to your Connectome Workbench
my_wb <- "~/Desktop/workbench"
## path to test data
dir_data <- "tests/data"
## path to results from tests
dir_results <- file.path(dir_data, "results")

library(testthat)
library(ciftiTools)
if (interactive()) { ciftiTools.setOption('wb_path', my_wb) }
library(templateICAr)

tests_dir <- "testthat"
if (!endsWith(getwd(), "tests")) { tests_dir <- file.path("tests", tests_dir) }
source(file.path(tests_dir, "test-misc.R"))

Try the templateICAr package in your browser

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

templateICAr documentation built on April 3, 2025, 7:41 p.m.