From 3c56259cfbb71425719e3018e9ccf3dae193e004 Mon Sep 17 00:00:00 2001 From: mguetlein Date: Tue, 31 Jan 2012 10:59:47 +0100 Subject: remove a test if package is not installed --- r-util.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/r-util.rb b/r-util.rb index 3f0adf8..0a8dc8e 100644 --- a/r-util.rb +++ b/r-util.rb @@ -168,6 +168,7 @@ class RUtilTest < Test::Unit::TestCase files = [] #plot [true,false].each do |fast_embedding| + next if fast_embedding==false and !@@rutil.package_installed?("smacof") random_file = "/tmp/feature_value_plot_random_fast#{fast_embedding}.svg" stratified_file = "/tmp/feature_value_plot_stratified_fast#{fast_embedding}.svg" pre_files [random_file, stratified_file] -- cgit v1.2.3