Skip to content

Instantly share code, notes, and snippets.

@lokeshh
Created July 28, 2016 03:59
Show Gist options
  • Select an option

  • Save lokeshh/699f98f36814b339cc9ec68ed3b62362 to your computer and use it in GitHub Desktop.

Select an option

Save lokeshh/699f98f36814b339cc9ec68ed3b62362 to your computer and use it in GitHub Desktop.
Failures:
1) Daru::DataFrame#summary produces a summary of data frame
Failure/Error:
tuple.flatten.each_with_index
.all? { |tup, i| @levels[i][tup] }
NoMethodError:
undefined method `flatten' for :report_building_text:Symbol
# ./lib/daru/index.rb:501:in `include?'
# ./lib/daru/dataframe.rb:1014:in `has_vector?'
# ./lib/daru/dataframe.rb:1825:in `respond_to_missing?'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:72:in `respond_to?'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:72:in `block in parse_element'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:72:in `each'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:72:in `find'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:72:in `parse_element'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:56:in `block in parse_cycle'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:55:in `each'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder.rb:55:in `parse_cycle'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder/builder/text.rb:17:in `parse'
# /usr/local/rvm/gems/ruby-2.3.0/gems/reportbuilder-1.4.2/lib/reportbuilder.rb:169:in `to_text'
# ./lib/daru/dataframe.rb:1292:in `summary'
# ./spec/dataframe_spec.rb:2880:in `block (3 levels) in <top (required)>'
Finished in 5.06 seconds (files took 10.03 seconds to load)
2470 examples, 1 failure, 20 pending
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment