-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Possibly an upstream error, but I'm unable to run the example from the README because of an undefined (categorical) variable problem. Reprex below. Any ideas?
FWIW I'm running the latest version of FixedEffectModels.jl (v0.9.0) in Julia itself.
library(FixedEffectjlr)
#> Loading required package: JuliaCall
julia <- JuliaCall::julia_setup()
#> Julia version 1.2.0 at location /opt/julias/julia-1.2.0/bin will be used.
#> Loading setup script for JuliaCall...
#> Finish loading setup script for JuliaCall.
df <- Ecdat::Cigar
reg_res <- FixedEffect(df,
lhs = "sales", rhs = "ndi",
fe = "state + year",
weights = "pop",
vcov = "cluster(state)")
#> Error: Error happens in Julia.
#> UndefVarError: categorical not defined
#> Stacktrace:
#> [1] top-level scope at none:0
#> [2] eval(::Module, ::Any) at ./boot.jl:330
#> [3] eval_string(::String) at /usr/lib/R/library/JuliaCall/julia/setup.jl:195
#> [4] docall(::Ptr{Nothing}) at /usr/lib/R/library/JuliaCall/julia/setup.jl:168Created on 2019-10-03 by the reprex package (v0.3.0)
Metadata
Metadata
Assignees
Labels
No labels