Package check result: NOTE Check: CRAN incoming feasibility, Result: NOTE Maintainer: ‘Balasubramanian Narasimhan ’ GNU make is a SystemRequirements. Changes to worse in reverse depends: Package: causalOT Check: tests New result: ERROR Running ‘testthat.R’ [35s/35s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(causalOT) > > test_check("causalOT") Saving _problems/test-SCM-28.R [ FAIL 1 | WARN 710 | SKIP 53 | PASS 120 ] ══ Skipped tests (53) ══════════════════════════════════════════════════════════ • On CRAN (24): 'test-OTmethod.R:28:3', 'test-OTmethod.R:97:3', 'test-OTmethod.R:195:3', 'test-OTmethod.R:246:3', 'test-OTmethod.R:295:3', 'test-OTmethod.R:392:3', 'test-OTmethod.R:477:3', 'test-OTmethod.R:519:3', 'test-OTmethod.R:566:3', 'test-PSIS.R:2:3', 'test-PSIS.R:34:3', 'test-PSIS.R:66:3', 'test-costMethod.R:50:3', 'test-cotClass.R:2:3', 'test-cotClass.R:64:3', 'test-cotClass.R:118:3', 'test-cotClass.R:188:3', 'test-cotClass.R:219:3', 'test-cotClass.R:323:3', 'test-cotClass.R:366:3', 'test-cotOOP.R:2:3', 'test-cotOOP.R:110:3', 'test-cotOOP.R:237:3', 'test-cotOOP.R:361:3' • Torch is not installed (29): 'test-OTmethod.R:2:3', 'test-OTmethod.R:60:3', 'test-OTmethod.R:161:3', 'test-OTmethod.R:347:3', 'test-OTmethod.R:440:3', 'test-barycentric_projection.R:2:3', 'test-barycentric_projection.R:91:3', 'test-barycentric_projection.R:181:3', 'test-calc_weight.R:2:3', 'test-costMethod.R:6:3', 'test-costMethod.R:106:3', 'test-cotProblem.R:112:3', 'test-cotProblem.R:135:3', 'test-dual_opts.R:2:3', 'test-dual_opts.R:150:3', 'test-dual_opts.R:285:3', 'test-estimate_effect.R:2:3', 'test-estimate_effect.R:76:3', 'test-estimate_effect.R:134:3', 'test-estimate_effect.R:192:3', 'test-estimate_effect.R:354:3', 'test-estimate_effect.R:505:3', 'test-estimate_effect.R:668:3', 'test-estimate_effect.R:712:3', 'test-estimate_effect.R:757:3', 'test-estimate_effect.R:801:3', 'test-gridSearch.R:2:3', 'test-gridSearch.R:106:3', 'test-gridSearch.R:155:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-SCM.R:28:3'): SCM object forms ─────────────────────────────── Expected `scm$.__enclos_env__$private$solver$GetParams()$polish` to be TRUE. Differences: `actual`: FALSE `expected`: TRUE [ FAIL 1 | WARN 710 | SKIP 53 | PASS 120 ] Error: ! Test failures. Execution halted Package: CVXR Check: examples New result: ERROR Running examples in ‘CVXR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: conv > ### Title: Discrete Convolution > ### Aliases: conv > > ### ** Examples > > set.seed(129) > x <- Variable(5) > h <- matrix(stats::rnorm(2), nrow = 2, ncol = 1) > prob <- Problem(Minimize(sum(conv(h, x)))) > result <- solve(prob) Warning: ! Using `model$Solve()` is deprecated for objects. ℹ Use `model@Solve()` instead. Error in status_map(object, solution$info$status_val) : OSQP status unrecognized: 5 Calls: solve ... invert -> invert -> invert -> status_map -> status_map Execution halted Package: CVXR Check: tests New result: ERROR Running ‘group00.R’ [3s/3s] Running ‘group01.R’ [10s/10s] Running ‘group02.R’ [2s/3s] Running ‘group03.R’ [2s/2s] Running ‘group04.R’ [2s/2s] Running ‘group05.R’ [4s/4s] Running the tests in ‘tests/group01.R’ failed. Complete output: > library(testthat) > library(CVXR) Attaching package: 'CVXR' The following object is masked from 'package:stats': power > > test_check("CVXR", filter="^g01") Saving _problems/test-g01-atoms-724.R [,1] [,2] [1,] 1 2 [2,] 3 4 [1] 9.999998 [1] 4.000025 [ FAIL 1 | WARN 4 | SKIP 261 | PASS 429 ] ══ Skipped tests (261) ═════════════════════════════════════════════════════════ • On CRAN (260): 'test-g01-complex.R:5:3', 'test-g01-complex.R:26:3', 'test-g01-complex.R:47:3', 'test-g01-complex.R:61:3', 'test-g01-complex.R:68:3', 'test-g01-complex.R:104:3', 'test-g01-complex.R:119:3', 'test-g01-complex.R:130:3', 'test-g01-complex.R:141:3', 'test-g01-complex.R:191:3', 'test-g01-complex.R:201:3', 'test-g01-complex.R:218:3', 'test-g01-complex.R:235:3', 'test-g01-complex.R:247:3', 'test-g01-complex.R:279:3', 'test-g01-complex.R:314:3', 'test-g01-complex.R:343:3', 'test-g01-complex.R:351:3', 'test-g01-complex.R:359:3', 'test-g01-complex.R:396:3', 'test-g01-complex.R:421:3', 'test-g01-constraints.R:19:3', 'test-g01-constraints.R:53:3', 'test-g01-constraints.R:86:3', 'test-g01-constraints.R:111:3', 'test-g01-constraints.R:131:3', 'test-g01-constraints.R:139:3', 'test-g01-convolution.R:5:3', 'test-g01-convolution.R:29:3', 'test-g01-curvature.R:15:3', 'test-g01-curvature.R:24:3', 'test-g01-curvature.R:33:3', 'test-g01-curvature.R:45:3', 'test-g01-curvature.R:51:3', 'test-g01-dgp.R:5:3', 'test-g01-dgp.R:30:3', 'test-g01-dgp.R:46:3', 'test-g01-dgp.R:66:3', 'test-g01-dgp.R:80:3', 'test-g01-dgp.R:95:3', 'test-g01-dgp.R:111:3', 'test-g01-dgp.R:134:3', 'test-g01-dgp.R:158:3', 'test-g01-dgp.R:165:3', 'test-g01-dgp2dcp.R:32:3', 'test-g01-dgp2dcp.R:81:3', 'test-g01-dgp2dcp.R:105:3', 'test-g01-dgp2dcp.R:116:3', 'test-g01-dgp2dcp.R:144:3', 'test-g01-dgp2dcp.R:184:3', 'test-g01-dgp2dcp.R:211:3', 'test-g01-dgp2dcp.R:230:3', 'test-g01-dgp2dcp.R:329:3', 'test-g01-dgp2dcp.R:340:3', 'test-g01-dgp2dcp.R:362:3', 'test-g01-dgp2dcp.R:371:3', 'test-g01-dgp2dcp.R:380:3', 'test-g01-dgp2dcp.R:406:3', 'test-g01-dgp2dcp.R:422:3', 'test-g01-dgp2dcp.R:435:3', 'test-g01-dgp2dcp.R:446:3', 'test-g01-dgp2dcp.R:466:3', 'test-g01-dgp2dcp.R:476:3', 'test-g01-dgp2dcp.R:485:3', 'test-g01-dgp2dcp.R:495:3', 'test-g01-dgp2dcp.R:506:3', 'test-g01-dgp2dcp.R:521:3', 'test-g01-dgp2dcp.R:533:3', 'test-g01-domain.R:50:3', 'test-g01-domain.R:71:3', 'test-g01-domain.R:78:3', 'test-g01-domain.R:86:3', 'test-g01-domain.R:94:3', 'test-g01-domain.R:101:3', 'test-g01-domain.R:108:3', 'test-g01-domain.R:115:3', 'test-g01-domain.R:124:3', 'test-g01-domain.R:143:3', 'test-g01-domain.R:151:3', 'test-g01-expressions.R:28:3', 'test-g01-expressions.R:42:3', 'test-g01-expressions.R:78:3', 'test-g01-expressions.R:105:3', 'test-g01-expressions.R:138:3', 'test-g01-expressions.R:147:3', 'test-g01-expressions.R:193:3', 'test-g01-expressions.R:232:3', 'test-g01-expressions.R:279:3', 'test-g01-expressions.R:314:3', 'test-g01-expressions.R:342:3', 'test-g01-expressions.R:397:3', 'test-g01-expressions.R:424:3', 'test-g01-expressions.R:446:3', 'test-g01-expressions.R:490:3', 'test-g01-expressions.R:542:3', 'test-g01-expressions.R:578:3', 'test-g01-expressions.R:596:3', 'test-g01-expressions.R:621:3', 'test-g01-expressions.R:722:3', 'test-g01-expressions.R:737:3', 'test-g01-expressions.R:766:3', 'test-g01-expressions.R:814:3', 'test-g01-expressions.R:862:3', 'test-g01-expressions.R:872:3', 'test-g01-expressions.R:885:3', 'test-g01-grad.R:12:3', 'test-g01-grad.R:24:3', 'test-g01-grad.R:67:3', 'test-g01-grad.R:83:3', 'test-g01-grad.R:103:3', 'test-g01-grad.R:118:3', 'test-g01-grad.R:138:3', 'test-g01-grad.R:145:3', 'test-g01-grad.R:166:3', 'test-g01-grad.R:195:3', 'test-g01-grad.R:214:3', 'test-g01-grad.R:225:3', 'test-g01-grad.R:236:3', 'test-g01-grad.R:244:3', 'test-g01-grad.R:291:3', 'test-g01-grad.R:320:3', 'test-g01-grad.R:349:3', 'test-g01-grad.R:378:3', 'test-g01-grad.R:408:3', 'test-g01-grad.R:438:3', 'test-g01-grad.R:468:3', 'test-g01-grad.R:514:3', 'test-g01-grad.R:562:3', 'test-g01-grad.R:610:3', 'test-g01-grad.R:692:3', 'test-g01-lin_ops.R:23:3', 'test-g01-lin_ops.R:32:3', 'test-g01-lin_ops.R:41:3', 'test-g01-lin_ops.R:68:3', 'test-g01-lin_ops.R:80:3', 'test-g01-lin_ops.R:94:3', 'test-g01-lin_ops.R:104:3', 'test-g01-lin_ops.R:119:3', 'test-g01-lin_ops.R:134:3', 'test-g01-linear_cone.R:30:3', 'test-g01-linear_cone.R:102:3', 'test-g01-linear_cone.R:144:3', 'test-g01-linear_cone.R:173:3', 'test-g01-linear_cone.R:206:3', 'test-g01-linear_cone.R:242:3', 'test-g01-matrices.R:22:3', 'test-g01-matrices.R:45:3', 'test-g01-matrices.R:69:3', 'test-g01-matrices.R:87:3', 'test-g01-mip_vars.R:10:3', 'test-g01-mip_vars.R:34:3', 'test-g01-mip_vars.R:68:3', 'test-g01-mip_vars.R:85:3', 'test-g01-mip_vars.R:96:3', 'test-g01-monotonicity.R:10:3', 'test-g01-monotonicity.R:44:3', 'test-g01-mosek_conif.R:9:3', 'test-g01-mosek_conif.R:45:3', 'test-g01-mosek_conif.R:86:3', 'test-g01-mosek_conif.R:128:3', 'test-g01-mosek_conif.R:152:3', 'test-g01-non_optimal.R:4:3', 'test-g01-non_optimal.R:21:3', 'test-g01-nonlinear_atoms.R:12:3', 'test-g01-nonlinear_atoms.R:45:3', 'test-g01-nonlinear_atoms.R:51:3', 'test-g01-nonlinear_atoms.R:84:3', 'test-g01-nonlinear_atoms.R:98:3', 'test-g01-nonlinear_atoms.R:112:3', 'test-g01-problem.R:23:3', 'test-g01-problem.R:31:3', 'test-g01-problem.R:42:3', 'test-g01-problem.R:66:3', 'test-g01-problem.R:104:3', 'test-g01-problem.R:113:3', 'test-g01-problem.R:136:3', 'test-g01-problem.R:264:3', 'test-g01-problem.R:274:3', 'test-g01-problem.R:311:3', 'test-g01-problem.R:321:3', 'test-g01-problem.R:350:3', 'test-g01-problem.R:361:3', 'test-g01-problem.R:417:3', 'test-g01-problem.R:481:3', 'test-g01-problem.R:500:3', 'test-g01-problem.R:509:3', 'test-g01-problem.R:529:3', 'test-g01-problem.R:547:3', 'test-g01-problem.R:555:3', 'test-g01-problem.R:574:3', 'test-g01-problem.R:606:3', 'test-g01-problem.R:632:3', 'test-g01-problem.R:666:3', 'test-g01-problem.R:674:3', 'test-g01-problem.R:697:3', 'test-g01-problem.R:706:3', 'test-g01-problem.R:714:3', 'test-g01-problem.R:746:3', 'test-g01-problem.R:777:3', 'test-g01-problem.R:817:3', 'test-g01-problem.R:844:3', 'test-g01-problem.R:872:3', 'test-g01-problem.R:877:3', 'test-g01-problem.R:925:3', 'test-g01-problem.R:945:3', 'test-g01-problem.R:960:3', 'test-g01-problem.R:971:3', 'test-g01-problem.R:980:3', 'test-g01-problem.R:1003:3', 'test-g01-problem.R:1014:3', 'test-g01-problem.R:1022:3', 'test-g01-problem.R:1051:3', 'test-g01-problem.R:1058:3', 'test-g01-problem.R:1113:3', 'test-g01-problem.R:1125:3', 'test-g01-problem.R:1184:3', 'test-g01-problem.R:1195:3', 'test-g01-problem.R:1219:3', 'test-g01-problem.R:1256:3', 'test-g01-problem.R:1334:3', 'test-g01-problem.R:1361:3', 'test-g01-problem.R:1381:3', 'test-g01-problem.R:1390:3', 'test-g01-qp.R:409:3', 'test-g01-qp.R:442:3', 'test-g01-qp.R:466:3', 'test-g01-qp.R:508:3', 'test-g01-quad_form.R:5:3', 'test-g01-quad_form.R:51:3', 'test-g01-quad_form.R:87:3', 'test-g01-quad_form.R:96:3', 'test-g01-quad_form.R:108:3', 'test-g01-quad_form.R:120:3', 'test-g01-semidefinite_vars.R:9:3', 'test-g01-semidefinite_vars.R:25:3', 'test-g01-solvers.R:38:3', 'test-g01-solvers.R:55:3', 'test-g01-solvers.R:71:3', 'test-g01-solvers.R:87:5', 'test-g01-solvers.R:100:3', 'test-g01-solvers.R:122:3', 'test-g01-solvers.R:151:3', 'test-g01-solvers.R:197:3', 'test-g01-solvers.R:243:3', 'test-g01-solvers.R:270:3', 'test-g01-solvers.R:363:3', 'test-g01-solvers.R:388:3', 'test-g01-solvers.R:434:3', 'test-g01-solvers.R:480:3', 'test-g01-solvers.R:505:3', 'test-g01-solvers.R:531:3', 'test-g01-solvers.R:555:3', 'test-g01-solvers.R:580:3', 'test-g01-solvers.R:621:3', 'test-g01-solvers.R:694:3', 'test-g01-solvers.R:743:3', 'test-g01-solvers.R:768:3', 'test-g01-solvers.R:794:3', 'test-g01-solvers.R:818:3', 'test-g01-solvers.R:843:3' • XPRESS_INSTALLED is not TRUE (1): 'test-g01-solvers.R:720:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-g01-atoms.R:724:3'): test mixed_norm ───────────────────────── Expected `result$value` to equal 5. Differences: 1/1 mismatches [1] 5 - 5 == 8.05e-05 [ FAIL 1 | WARN 4 | SKIP 261 | PASS 429 ] Error: ! Test failures. Execution halted Package: eVCGsampler Check: examples New result: WARNING Found the following significant warnings: Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Deprecated functions may be defunct as soon as of the next release of R. See ?Deprecated. Package: FoCo2 Check: tests New result: ERROR Running ‘testthat.R’ [3s/3s] 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(FoCo2) Loading required package: Matrix Loading required package: FoReco > > test_check("FoCo2") Polishing not needed - no active set detected at optimal point Saving _problems/test-cs-23.R Saving _problems/test-cs-51.R Polishing not needed - no active set detected at optimal point Saving _problems/test-cs-72.R [ FAIL 3 | WARN 3 | SKIP 0 | PASS 18 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cs.R:22:5'): Optimal cross-sectional coherent combination ────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoCo2::csocc(...) at test-cs.R:22:5 2. └─FoCo2:::resemble(...) 3. ├─FoCo2:::.resemble(...) 4. └─FoCo2:::resemble.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-cs.R:50:5'): Optimal nonegative cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoCo2::csocc(...) at test-cs.R:50:5 2. └─FoCo2:::resemble(...) 3. ├─FoCo2:::.resemble(...) 4. └─FoCo2:::resemble.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-cs.R:71:5'): Optimal cross-sectional coherent combination with NA ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoCo2::csocc(...) at test-cs.R:71:5 2. └─FoCo2:::resemble(...) 3. ├─FoCo2:::.resemble(...) 4. └─FoCo2:::resemble.strc_osqp(...) 5. └─base::`colnames<-`(...) [ FAIL 3 | WARN 3 | SKIP 0 | PASS 18 ] Error: ! Test failures. Execution halted Package: FoReco Check: examples New result: ERROR Running examples in ‘FoReco-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: csrec > ### Title: Optimal combination cross-sectional reconciliation > ### Aliases: csrec > > ### ** Examples > > set.seed(123) > # (2 x 3) base forecasts matrix (simulated), Z = X + Y > base <- matrix(rnorm(6, mean = c(20, 10, 10)), 2, byrow = TRUE) > # (10 x 3) in-sample residuals matrix (simulated) > res <- t(matrix(rnorm(n = 30), nrow = 3)) > > # Aggregation matrix for Z = X + Y > A <- t(c(1,1)) > reco <- csrec(base = base, agg_mat = A, comb = "wls", res = res) > > # Zero constraints matrix for Z - X - Y = 0 > C <- t(c(1, -1, -1)) > reco <- csrec(base = base, cons_mat = C, comb = "wls", res = res) # same results > > # Non negative reconciliation > base[1,3] <- -base[1,3] # Making negative one of the base forecasts for variable Y > nnreco <- csrec(base = base, agg_mat = A, comb = "wls", res = res, nn = "osqp") Warning: ! The `polish` argument is deprecated. ℹ Use `polishing` instead. Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent Calls: csrec -> reco -> .reco -> reco.proj_osqp -> colnames<- Execution halted Package: FoReco Check: tests New result: ERROR Running ‘testthat.R’ [5s/5s] 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(FoReco) Loading required package: Matrix > > test_check("FoReco") Polishing not needed - no active set detected at optimal point Saving _problems/test-cs-47.R Saving _problems/test-cs-69.R Saving _problems/test-cs-89.R Polishing not needed - no active set detected at optimal point Saving _problems/test-ct-36.R Saving _problems/test-ct-107.R Saving _problems/test-ct-129.R Polishing not needed - no active set detected at optimal point Saving _problems/test-te-37.R Saving _problems/test-te-50.R Saving _problems/test-te-70.R [ FAIL 9 | WARN 9 | SKIP 0 | PASS 142 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cs.R:46:5'): Optimal cross-sectional reconciliation ──────────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::csrec(...) at test-cs.R:46:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-cs.R:68:5'): Optimal nonegative cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::csrec(...) at test-cs.R:68:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-cs.R:88:5'): Optimal immutable cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::csrec(...) at test-cs.R:88:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-ct.R:35:5'): Optimal cross-temporal reconciliation ───────────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::ctrec(...) at test-ct.R:35:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-ct.R:106:5'): Optimal nonegative cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::ctrec(...) at test-ct.R:106:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-ct.R:128:5'): Optimal immutable cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::ctrec(...) at test-ct.R:128:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-te.R:36:5'): Optimal temporal reconciliation ─────────────────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::terec(...) at test-te.R:36:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-te.R:49:5'): Optimal nonegative temporal reconciliation ──────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::terec(...) at test-te.R:49:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-te.R:69:5'): Optimal immutable temporal reconciliation ───────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::terec(...) at test-te.R:69:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) [ FAIL 9 | WARN 9 | SKIP 0 | PASS 142 ] Error: ! Test failures. Execution halted Package: optweight Check: examples New result: WARNING Found the following significant warnings: Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Warning: ! The `polish` argument is deprecated. Deprecated functions may be defunct as soon as of the next release of R. See ?Deprecated. Package: WeightIt Check: examples New result: ERROR Running examples in ‘WeightIt-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: method_energy > ### Title: Energy Balancing > ### Aliases: method_energy > > ### ** Examples > > ## Don't show: > if (rlang::is_installed("osqp")) withAutoprint({ # examplesIf + ## End(Don't show) + data("lalonde", package = "cobalt") + + #Balancing covariates between treatment groups (binary) + (W1 <- weightit(treat ~ age + educ + married + + nodegree + re74, data = lalonde, + method = "energy", estimand = "ATE")) + + summary(W1) + + cobalt::bal.tab(W1) + + #Balancing covariates with respect to race (multi-category) + (W2 <- weightit(race ~ age + educ + married + + nodegree + re74, data = lalonde, + method = "energy", estimand = "ATT", + focal = "black")) + + summary(W2) + + cobalt::bal.tab(W2) + + ## Don't show: + }) # examplesIf > data("lalonde", package = "cobalt") > (W1 <- weightit(treat ~ age + educ + married + nodegree + re74, data = lalonde, + method = "energy", estimand = "ATE")) Warning: ! The `polish` argument is deprecated. ℹ Use `polishing` instead. Error in eval(ei, envir) : OSQP setup failed with error code 2: Solver settings validation. Calls: withAutoprint ... -> withVisible -> -> osqp -> osqpSetup Execution halted Package: WeightIt Check: tests New result: ERROR Running ‘testthat.R’ [144s/144s] 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(WeightIt) > > test_check("WeightIt") Saving _problems/test-moments-26.R Saving _problems/test-moments-34.R Saving _problems/test-moments-90.R Saving _problems/test-moments-98.R [ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • On CRAN (3): 'test-method_cbps.R:2:3', 'test-method_cbps.R:108:3', 'test-method_cbps.R:197:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-moments.R:21:5'): moments works as expected, binary ────────── Expected `{ ... }` not to throw any conditions. Actually got a with message: ! The `polish` argument is deprecated. i Use `polishing` instead. ── Failure ('test-moments.R:30:5'): moments works as expected, binary ────────── Expected `{ ... }` not to throw any conditions. Actually got a with message: ! The `polish` argument is deprecated. i Use `polishing` instead. ── Failure ('test-moments.R:85:5'): moments works as expected, multi ─────────── Expected `{ ... }` not to throw any conditions. Actually got a with message: ! The `polish` argument is deprecated. i Use `polishing` instead. ── Failure ('test-moments.R:94:5'): moments works as expected, multi ─────────── Expected `{ ... }` not to throw any conditions. Actually got a with message: ! The `polish` argument is deprecated. i Use `polishing` instead. [ FAIL 4 | WARN 0 | SKIP 3 | PASS 2061 ] Error: ! Test failures. Execution halted