Last updated on 2026-03-10 21:53:51 CET.
| Package | ERROR | OK |
|---|---|---|
| DiSCos | 2 | 12 |
Current CRAN status: ERROR: 2, OK: 12
Version: 0.1.2
Check: dependencies in R code
Result: WARN
Missing or unexported object: ‘CVXR::solve’
Flavors: r-release-linux-x86_64, r-release-windows-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [108s/130s]
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")
Saving _problems/test-DiSCo-13.R
Saving _problems/test-DiSCo-97.R
Saving _problems/test-DiSCo-99.R
Saving _problems/test-DiSCo-112.R
Saving _problems/test-DiSCo-114.R
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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Saving _problems/test-DiSCo-163.R
Saving _problems/test-DiSCo-166.R
Saving _problems/test-DiSCo-216.R
Saving _problems/test-DiSCo-224.R
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`.Saving _problems/test-DiSCoTEA-25.R
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`.Saving _problems/test-DiSCoTEA-60.R
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 -1.7561 1.5609 -3.4356 -1.3386 *
2 0.25 0.50 -1.8575 3.1431 -4.8640 -0.6412 *
2 0.50 0.75 -4.5250 4.8535 -9.4400 -2.9192 *
2 0.75 1.00 -6.9157 5.4630 -12.4064 -5.0669 *
---
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
Saving _problems/test-DiSCoTEA-94.R
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 -1.7561 1.5609 -3.4356 -1.3386 *
2 0.25 0.50 -1.8575 3.1431 -4.8640 -0.6412 *
2 0.50 0.75 -4.5250 4.8535 -9.4400 -2.9192 *
2 0.75 1.00 -6.9157 5.4630 -12.4064 -5.0669 *
---
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
Saving _problems/test-DiSCoTEA-128.R
[ FAIL 13 | WARN 0 | SKIP 0 | PASS 72 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-DiSCo.R:13:3'): mixture weights sum up to 1 ────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCo.R:13:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Failure ('test-DiSCo.R:97:3'): simplex results in weakly positive weights for mixture ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCo.R:99:3'): simplex results in weakly positive weights for mixture ──
Error in `eval(code, test_env)`: object 'disco' not found
Backtrace:
▆
1. └─testthat::expect_true(all(disco$weights > -1e-05)) at test-DiSCo.R:99:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-DiSCo.R:112:3'): returned quantile functions and cdfs are weakly increasing ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCo.R:114:3'): returned quantile functions and cdfs are weakly increasing ──
Error in `eval(code, test_env)`: object 'disco' not found
── Failure ('test-DiSCo.R:163:3'): discrete support works for mixture ──────────
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCo.R:166:3'): discrete support works for mixture ────────────
Error in `eval(code, test_env)`: object 'disco' not found
Backtrace:
▆
1. └─testthat::expect_true(...) at test-DiSCo.R:166:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-DiSCo.R:216:3'): test that variations of other arguments work ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Failure ('test-DiSCo.R:224:3'): test that variations of other arguments work ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCoTEA.R:25:3'): quantile works ──────────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:25:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Error ('test-DiSCoTEA.R:60:3'): cdf works ───────────────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:60:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Error ('test-DiSCoTEA.R:94:3'): quantileDiff works ──────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:94:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Error ('test-DiSCoTEA.R:128:3'): cdfDiff works ──────────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:128:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
[ FAIL 13 | WARN 0 | SKIP 0 | PASS 72 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running 'testthat.R' [91s]
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")
Saving _problems/test-DiSCo-13.R
Saving _problems/test-DiSCo-97.R
Saving _problems/test-DiSCo-99.R
Saving _problems/test-DiSCo-112.R
Saving _problems/test-DiSCo-114.R
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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> pargam -> warning -> pargam(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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> 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 -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> test_that -> test_code -> withRestarts -> withOneRestart -> withCallingHandlers -> eval -> eval -> expect_no_error -> expect_no_ -> quasi_capture -> .capture -> withRestarts -> withOneRestart -> withCallingHandlers -> eval_bare -> DiSCo -> mclapply.hack -> lapply -> FUN -> myQuant -> extremeStat::distLquantile -> distLfit -> lapply -> FUN -> tryStack -> lmomco::lmom2par -> parrice -> warning -> parrice(lmom, ...)
Saving _problems/test-DiSCo-163.R
Saving _problems/test-DiSCo-166.R
Saving _problems/test-DiSCo-216.R
Saving _problems/test-DiSCo-224.R
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`.Saving _problems/test-DiSCoTEA-25.R
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`.Saving _problems/test-DiSCoTEA-60.R
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 -1.7561 1.5609 -3.4356 -1.3386 *
2 0.25 0.50 -1.8575 3.1431 -4.8640 -0.6412 *
2 0.50 0.75 -4.5250 4.8535 -9.4400 -2.9192 *
2 0.75 1.00 -6.9157 5.4630 -12.4064 -5.0669 *
---
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
Saving _problems/test-DiSCoTEA-94.R
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 -1.7561 1.5609 -3.4356 -1.3386 *
2 0.25 0.50 -1.8575 3.1431 -4.8640 -0.6412 *
2 0.50 0.75 -4.5250 4.8535 -9.4400 -2.9192 *
2 0.75 1.00 -6.9157 5.4630 -12.4064 -5.0669 *
---
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
Saving _problems/test-DiSCoTEA-128.R
[ FAIL 13 | WARN 0 | SKIP 0 | PASS 72 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-DiSCo.R:13:3'): mixture weights sum up to 1 ────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCo.R:13:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Failure ('test-DiSCo.R:97:3'): simplex results in weakly positive weights for mixture ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCo.R:99:3'): simplex results in weakly positive weights for mixture ──
Error in `eval(code, test_env)`: object 'disco' not found
Backtrace:
▆
1. └─testthat::expect_true(all(disco$weights > -1e-05)) at test-DiSCo.R:99:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-DiSCo.R:112:3'): returned quantile functions and cdfs are weakly increasing ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCo.R:114:3'): returned quantile functions and cdfs are weakly increasing ──
Error in `eval(code, test_env)`: object 'disco' not found
── Failure ('test-DiSCo.R:163:3'): discrete support works for mixture ──────────
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCo.R:166:3'): discrete support works for mixture ────────────
Error in `eval(code, test_env)`: object 'disco' not found
Backtrace:
▆
1. └─testthat::expect_true(...) at test-DiSCo.R:166:3
2. └─testthat::quasi_label(enquo(object), label)
3. └─rlang::eval_bare(expr, quo_get_env(quo))
── Failure ('test-DiSCo.R:216:3'): test that variations of other arguments work ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Failure ('test-DiSCo.R:224:3'): test that variations of other arguments work ──
Expected `... <- NULL` not to throw any errors.
Actually got a <simpleError> with message:
'solve' is not an exported object from 'namespace:CVXR'
── Error ('test-DiSCoTEA.R:25:3'): quantile works ──────────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:25:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Error ('test-DiSCoTEA.R:60:3'): cdf works ───────────────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:60:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Error ('test-DiSCoTEA.R:94:3'): quantileDiff works ──────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:94:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
── Error ('test-DiSCoTEA.R:128:3'): cdfDiff works ──────────────────────────────
Error: 'solve' is not an exported object from 'namespace:CVXR'
Backtrace:
▆
1. └─DiSCos::DiSCo(...) at test-DiSCoTEA.R:128:3
2. └─DiSCos:::mclapply.hack(...)
3. └─base::lapply(...)
4. └─DiSCos (local) FUN(X[[i]], ...)
5. └─DiSCos:::DiSCo_mixture(...)
6. └─DiSCos:::DiSCo_mixture_solve(...)
[ FAIL 13 | WARN 0 | SKIP 0 | PASS 72 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-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.