Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DivideError: integer division error #123

Open
jariji opened this issue Aug 21, 2022 · 1 comment
Open

DivideError: integer division error #123

jariji opened this issue Aug 21, 2022 · 1 comment

Comments

@jariji
Copy link

jariji commented Aug 21, 2022

I got an error when calling regtable. It was something like this:

regtable(r, renderSettings=latexOutput(), transform_labels=:latex, groups=["1"])
ERROR: DivideError: integer division error
Stacktrace:
  [1] div
    @ ./int.jl:284 [inlined]
  [2] divrem
    @ ./div.jl:162 [inlined]
  [3] divrem
    @ ./div.jl:158 [inlined]
  [4] _reshape_uncolon
    @ ./reshapedarray.jl:127 [inlined]
  [5] reshape(parent::Vector{String}, dims::Tuple{Colon, Int64})
    @ Base ./reshapedarray.jl:118
  [6] reshape
    @ ./reshapedarray.jl:117 [inlined]
  [7] regtable(; regressors::Vector{String}, fixedeffects::Vector{String}, labels::Dict{String, String}, align::Symbol, estimformat::String, estim_decoration::RegressionTables.var"#estim_decorator#4"{typeof(identity), Vector{Float64}, Char}, statisticformat::String, below_statistic::Symbol, below_decoration::RegressionTables.var"#34#47", regression_statistics::Vector{Symbol}, custom_statistics::Missing, number_regressions::Bool, number_regressions_decoration::RegressionTables.var"#35#48", groups::Vector{String}, print_fe_section::Bool, print_estimator_section::Bool, standardize_coef::Bool, out_buffer::IOBuffer, transform_labels::Symbol, renderSettings::RenderSettings)
    @ RegressionTables ~/.julia/packages/RegressionTables/bj5zD/src/regtable.jl:238
@jmboehm
Copy link
Owner

jmboehm commented Aug 21, 2022

Thanks. Could you post a replicable example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants