Append ! suffix to functions which mutate their arguments #319
Annotations
10 errors and 2 warnings
Run julia-actions/julia-docdeploy@latest:
src/bootstrap.jl#L8
doctest failure in ~/work/Survey.jl/Survey.jl/src/bootstrap.jl:8-27
```jldoctest
julia> using Random
julia> apiclus1 = load_data("apiclus1");
julia> dclus1 = SurveyDesign(apiclus1; clusters = :dnum, popsize=:fpc);
julia> bootweights(dclus1; replicates=1000, rng=MersenneTwister(111)) # choose a seed for deterministic results
ReplicateDesign{BootstrapReplicates}:
data: 183×1044 DataFrame
strata: none
cluster: dnum
[61, 61, 61 … 815]
popsize: [757, 757, 757 … 757]
sampsize: [15, 15, 15 … 15]
weights: [50.4667, 50.4667, 50.4667 … 50.4667]
allprobs: [0.0198, 0.0198, 0.0198 … 0.0198]
type: bootstrap
replicates: 1000
```
Subexpression:
dclus1 = SurveyDesign(apiclus1; clusters = :dnum, popsize=:fpc);
Evaluated output:
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, popsize::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, popsize::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
src/bootstrap.jl#L8
doctest failure in ~/work/Survey.jl/Survey.jl/src/bootstrap.jl:8-27
```jldoctest
julia> using Random
julia> apiclus1 = load_data("apiclus1");
julia> dclus1 = SurveyDesign(apiclus1; clusters = :dnum, popsize=:fpc);
julia> bootweights(dclus1; replicates=1000, rng=MersenneTwister(111)) # choose a seed for deterministic results
ReplicateDesign{BootstrapReplicates}:
data: 183×1044 DataFrame
strata: none
cluster: dnum
[61, 61, 61 … 815]
popsize: [757, 757, 757 … 757]
sampsize: [15, 15, 15 … 15]
weights: [50.4667, 50.4667, 50.4667 … 50.4667]
allprobs: [0.0198, 0.0198, 0.0198 … 0.0198]
type: bootstrap
replicates: 1000
```
Subexpression:
bootweights(dclus1; replicates=1000, rng=MersenneTwister(111)) # choose a seed for deterministic results
Evaluated output:
ERROR: UndefVarError: `dclus1` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
ReplicateDesign{BootstrapReplicates}:
data: 183×1044 DataFrame
strata: none
cluster: dnum
[61, 61, 61 … 815]
popsize: [757, 757, 757 … 757]
sampsize: [15, 15, 15 … 15]
weights: [50.4667, 50.4667, 50.4667 … 50.4667]
allprobs: [0.0198, 0.0198, 0.0198 … 0.0198]
type: bootstrap
replicates: 1000
diff =
Warning: Diff output requires color.
ReplicateDesign{BootstrapReplicates}:
data: 183×1044 DataFrame
strata: none
cluster: dnum
[61, 61, 61 … 815]
popsize: [757, 757, 757 … 757]
sampsize: [15, 15, 15 … 15]
weights: [50.4667, 50.4667, 50.4667 … 50.4667]
allprobs: [0.0198, 0.0198, 0.0198 … 0.0198]
type: bootstrap
replicates: 1000ERROR: UndefVarError: `dclus1` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
src/SurveyDesign.jl#L30
doctest failure in ~/work/Survey.jl/Survey.jl/src/SurveyDesign.jl:30-43
```jldoctest
julia> apiclus1 = load_data("apiclus1");
julia> dclus1 = SurveyDesign(apiclus1; clusters=:dnum, weights=:pw)
SurveyDesign:
data: 183×44 DataFrame
strata: none
cluster: dnum
[637, 637, 637 … 448]
popsize: [507.7049, 507.7049, 507.7049 … 507.7049]
sampsize: [15, 15, 15 … 15]
weights: [33.847, 33.847, 33.847 … 33.847]
allprobs: [0.0295, 0.0295, 0.0295 … 0.0295]
```
Subexpression:
dclus1 = SurveyDesign(apiclus1; clusters=:dnum, weights=:pw)
Evaluated output:
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, weights::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
SurveyDesign:
data: 183×44 DataFrame
strata: none
cluster: dnum
[637, 637, 637 … 448]
popsize: [507.7049, 507.7049, 507.7049 … 507.7049]
sampsize: [15, 15, 15 … 15]
weights: [33.847, 33.847, 33.847 … 33.847]
allprobs: [0.0295, 0.0295, 0.0295 … 0.0295]
diff =
Warning: Diff output requires color.
SurveyDesign:
data: 183×44 DataFrame
strata: none
cluster: dnum
[637, 637, 637 … 448]
popsize: [507.7049, 507.7049, 507.7049 … 507.7049]
sampsize: [15, 15, 15 … 15]
weights: [33.847, 33.847, 33.847 … 33.847]
allprobs: [0.0295, 0.0295, 0.0295 … 0.0295]ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, weights::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
src/jackknife.jl#L17
doctest failure in ~/work/Survey.jl/Survey.jl/src/jackknife.jl:17-36
```jldoctest
julia> using Survey;
julia> apistrat = load_data("apistrat");
julia> dstrat = SurveyDesign(apistrat; strata=:stype, weights=:pw);
julia> rstrat = jackknifeweights(dstrat)
ReplicateDesign{JackknifeReplicates}:
data: 200×244 DataFrame
strata: stype
[E, E, E … M]
cluster: none
popsize: [4420.9999, 4420.9999, 4420.9999 … 1018.0]
sampsize: [100, 100, 100 … 50]
weights: [44.21, 44.21, 44.21 … 20.36]
allprobs: [0.0226, 0.0226, 0.0226 … 0.0491]
type: jackknife
replicates: 200
```
Subexpression:
dstrat = SurveyDesign(apistrat; strata=:stype, weights=:pw);
Evaluated output:
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; strata::Symbol, weights::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; strata::Symbol, weights::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
src/jackknife.jl#L17
doctest failure in ~/work/Survey.jl/Survey.jl/src/jackknife.jl:17-36
```jldoctest
julia> using Survey;
julia> apistrat = load_data("apistrat");
julia> dstrat = SurveyDesign(apistrat; strata=:stype, weights=:pw);
julia> rstrat = jackknifeweights(dstrat)
ReplicateDesign{JackknifeReplicates}:
data: 200×244 DataFrame
strata: stype
[E, E, E … M]
cluster: none
popsize: [4420.9999, 4420.9999, 4420.9999 … 1018.0]
sampsize: [100, 100, 100 … 50]
weights: [44.21, 44.21, 44.21 … 20.36]
allprobs: [0.0226, 0.0226, 0.0226 … 0.0491]
type: jackknife
replicates: 200
```
Subexpression:
rstrat = jackknifeweights(dstrat)
Evaluated output:
ERROR: UndefVarError: `dstrat` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
ReplicateDesign{JackknifeReplicates}:
data: 200×244 DataFrame
strata: stype
[E, E, E … M]
cluster: none
popsize: [4420.9999, 4420.9999, 4420.9999 … 1018.0]
sampsize: [100, 100, 100 … 50]
weights: [44.21, 44.21, 44.21 … 20.36]
allprobs: [0.0226, 0.0226, 0.0226 … 0.0491]
type: jackknife
replicates: 200
diff =
Warning: Diff output requires color.
ReplicateDesign{JackknifeReplicates}:
data: 200×244 DataFrame
strata: stype
[E, E, E … M]
cluster: none
popsize: [4420.9999, 4420.9999, 4420.9999 … 1018.0]
sampsize: [100, 100, 100 … 50]
weights: [44.21, 44.21, 44.21 … 20.36]
allprobs: [0.0226, 0.0226, 0.0226 … 0.0491]
type: jackknife
replicates: 200ERROR: UndefVarError: `dstrat` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
../../../.julia/packages/Documenter/2OZOh/src/doctests.jl#L162
could not evaluate expression from doctest setup.
expression = :($(Expr(:toplevel, :(using Survey, StatsBase, DataFrames), :(#= none:1 =#), :(apiclus1 = load_data("apiclus1")), :(#= none:1 =#), :(dclus1 = SurveyDesign(apiclus1; clusters = :dnum, weights = :pw)), :(#= none:1 =#), :(bclus1 = dclus1 |> bootweights))))
exception = MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, weights::Symbol)
|
Run julia-actions/julia-docdeploy@latest:
../../../.julia/packages/Documenter/2OZOh/src/doctests.jl#L162
could not evaluate expression from doctest setup.
expression = :($(Expr(:toplevel, :(using Survey, StatsBase, DataFrames), :(#= none:1 =#), :(apistrat = load_data("apistrat")), :(#= none:1 =#), :(dstrat = SurveyDesign(apistrat; strata = :stype, weights = :pw)), :(#= none:1 =#), :(rstrat = jackknifeweights(dstrat)))))
exception = MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; strata::Symbol, weights::Symbol)
|
Run julia-actions/julia-docdeploy@latest:
src/ratio.jl#L6
doctest failure in ~/work/Survey.jl/Survey.jl/src/ratio.jl:6-17
```jldoctest
julia> apiclus1 = load_data("apiclus1");
julia> dclus1 = SurveyDesign(apiclus1; clusters = :dnum, weights = :pw);
julia> ratio([:api00, :enroll], dclus1)
1×1 DataFrame
Row │ ratio
│ Float64
─────┼─────────
1 │ 1.17182
```
Subexpression:
dclus1 = SurveyDesign(apiclus1; clusters = :dnum, weights = :pw);
Evaluated output:
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, weights::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, weights::Symbol)
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
src/ratio.jl#L6
doctest failure in ~/work/Survey.jl/Survey.jl/src/ratio.jl:6-17
```jldoctest
julia> apiclus1 = load_data("apiclus1");
julia> dclus1 = SurveyDesign(apiclus1; clusters = :dnum, weights = :pw);
julia> ratio([:api00, :enroll], dclus1)
1×1 DataFrame
Row │ ratio
│ Float64
─────┼─────────
1 │ 1.17182
```
Subexpression:
ratio([:api00, :enroll], dclus1)
Evaluated output:
ERROR: UndefVarError: `dclus1` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
1×1 DataFrame
Row │ ratio
│ Float64
─────┼─────────
1 │ 1.17182
diff =
Warning: Diff output requires color.
1×1 DataFrame
Row │ ratio
│ Float64
─────┼─────────
1 │ 1.17182ERROR: UndefVarError: `dclus1` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Run julia-actions/julia-docdeploy@latest:
../../../.julia/packages/Documenter/2OZOh/src/doctests.jl#L162
could not evaluate expression from doctest setup.
expression = :($(Expr(:toplevel, :(using Survey, StatsBase), :(#= none:1 =#), :(apiclus1 = load_data("apiclus1")), :(#= none:1 =#), :(dclus1 = SurveyDesign(apiclus1; clusters = :dnum, weights = :pw)), :(#= none:1 =#), :(bclus1 = bootweights(dclus1)))))
exception = MethodError: no method matching SurveyDesign(::DataFrames.DataFrame; clusters::Symbol, weights::Symbol)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading