Last updated on 2025-10-10 13:49:57 CEST.
Package | ERROR | OK |
---|---|---|
DiSCos | 9 | 4 |
Current CRAN status: ERROR: 9, OK: 4
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [236s/272s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [135s/158s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [358s/426s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [344s/409s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [178s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [214s/279s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [215s/298s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [177s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [244s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(DiSCos)
Loading required package: data.table
Loading required package: ggplot2
>
> options(datatable.auto.thread = 1) # Limit data.table to 1 thread
> Sys.setenv(OMP_NUM_THREADS = 1) # limit environment to 1 thread
>
> test_check("DiSCos")
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.parsmd.valid(z, nowarn = TRUE): Parameter A is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parsmd -> are.parsmd.valid -> warning -> are.parsmd.valid(z, nowarn = TRUE)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parln3(lmom, ...): L-skew is negative, try reversing the data Y <- -X, to avoid a log(<0) error
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parln3 -> warning -> parln3(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter BETA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Warning: in are.pargam.valid(z): Parameter ALPHA is not > 0, invalid
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> are.pargam.valid -> warning -> are.pargam.valid(z)
Warning: in pargam(lmom, ...): Parameters can not be computed likely because L1 <= L2 or L2 <= 0
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(lmom, ...)
Warning: in parrice(lmom, ...): LCV too small (<0.0236) for Rice as implemented
-- tryStack sys.calls: test_check -> test_dir -> test_files -> test_files_serial -> with_reporter -> lapply -> FUN -> source_file -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> tryCatchOne -> tryCatchList -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> try_fetch -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff", graph = TRUE)
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2003 0 0.9 -0.0508 0.0699 -0.1334 0.0171
2004 0 0.9 -0.1492 0.0491 -0.2257 -0.1171 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
Permutation test for quantile range: [0, 0.9]
P-value: 0.176
Number of control units: 33
Number of pre-treatment periods: 5
Number of post-treatment periods: 2
N=652,870
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantile")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "cdf")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
No treatment effects to summarize, set graph=TRUE in function call or specify a treatment effect option in `agg`.
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 -3.1149 0.0832 -3.4032 -3.2915 *
2 0.25 0.50 -0.5900 0.1802 -0.7864 -0.5443 *
2 0.50 0.75 -0.4505 0.3749 -0.5950 -0.0913 *
2 0.75 1.00 0.2993 0.5222 -0.1052 0.5964
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
Call:
DiSCoTEA(disco = disco, agg = "quantileDiff")
Reference: Gunsilius, Florian F. "Distributional synthetic controls." Econometrica 91, no. 3 (2023): 1105-1117.
Aggregated Distribution Differences, Quantile Δ
Time X_from X_to Quantile Δ Std. Error [95% Conf. Band]
2 0.00 0.25 2.9313 0.1357 2.8928 3.0751 *
2 0.25 0.50 2.2455 0.5058 2.0634 2.7429 *
2 0.50 0.75 3.0117 0.1604 2.9527 3.1682 *
2 0.75 1.00 1.2742 0.5918 0.6860 1.4812 *
---
Signif. codes: `*' Confidence band for distribution differences does not cover 0
No permutation test performed.
Number of pre-treatment periods: 1
Number of post-treatment periods: 1
N=10,000
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• empty test (1): 'test-DiSCoTEA.R:2:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-DiSCoTEA.R:24:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:40:3'): quantile works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:59:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:74:3'): cdf works ─────────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:93:3'): quantileDiff works ────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:108:3'): quantileDiff works ───────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:127:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
── Failure ('test-DiSCoTEA.R:142:3'): cdfDiff works ────────────────────────────
typeof(discot$plot) == "list" is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 8 | WARN 2 | SKIP 1 | PASS 107 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.