R Under development (unstable) (2024-10-13 r87228 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit 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")) Test passed 🎊 > > proc.time() user system elapsed 4.82 0.78 5.59