From 3acc84b6d1f7050a5c4bf6e86cea8d0f3303ac71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Sch=C3=A4fer?= Date: Wed, 27 Nov 2019 12:21:59 +0100 Subject: [PATCH] investigate travis error on R dev under Linux --- R/write_fs_mgh.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/write_fs_mgh.R b/R/write_fs_mgh.R index f8cd64c..d29be9f 100644 --- a/R/write_fs_mgh.R +++ b/R/write_fs_mgh.R @@ -32,9 +32,9 @@ write.fs.mgh <- function(filepath, data, vox2ras_matrix = NULL, mr_params = c(0. if(length(vox2ras_matrix) == 0) { ras_flag = 0; } else { + cat(sprintf("The class of the 'vox2ras_matrix' argument is '%s'.", class(vox2ras_matrix))); + print(vox2ras_matrix); if(class(vox2ras_matrix) != "matrix") { - cat(sprintf("The class of the 'vox2ras_matrix' argument is '%s'.", class(vox2ras_matrix))); - print(vox2ras_matrix); stop("The 'vox2ras_matrix' argument must be a matrix."); }