Sha256: d9df4de147401a0c48ce3d232f5484fc97f35eb21119f75c14d675841fbaea84
Contents?: true
Size: 335 Bytes
Versions: 3
Compression:
Stored size: 335 Bytes
Contents
require_relative "setup.rb" class LazarRpackagesTest < MiniTest::Test def test_user_packages_installed packages = ["caret", "randomForest", "ggplot2", "pls", "doMC", "gridExtra", "foreach", "iterators", "stringi"] packages.each do |p| r = R.eval "require(#{p})" assert_equal 1, r.payload[0] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lazar-1.2.1 | test/Rpackages.rb |
lazar-1.2.0 | test/Rpackages.rb |
lazar-1.1.3 | test/Rpackages.rb |