# Build --> Install and Restart
# [Edit this] path to the Workbench for your computer.
my_wb <- "~/Desktop/workbench"
library(testthat)
library(ciftiTools)
if (interactive()) { ciftiTools.setOption("wb_path", my_wb) }
tests_dir <- "testthat"
if (!endsWith(getwd(), "tests")) { tests_dir <- file.path("tests", tests_dir) }
source(file.path(tests_dir, "test-reading.R"))
source(file.path(tests_dir, "test-writing.R"))
source(file.path(tests_dir, "test-resampling.R"))
source(file.path(tests_dir, "test-plotting_surf.R"))
source(file.path(tests_dir, "test-plotting_sub.R"))
source(file.path(tests_dir, "test-plotting_together.R"))
source(file.path(tests_dir, "test-misc.R"))
# Other recommended tests
# Read a v1 CIFTI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.