* using log directory 'd:/RCompile/CRANincoming/R-devel/recipes.Rcheck' * using R Under development (unstable) (2024-06-30 r86854 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'recipes/DESCRIPTION' ... OK * this is package 'recipes' version '1.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [14s] Note_to_CRAN_maintainers Maintainer: 'Max Kuhn ' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'recipes' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [29s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [43s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [75m] ERROR Running 'testthat.R' [75m] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(recipes) Loading required package: dplyr Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Attaching package: 'recipes' The following object is masked from 'package:stats': step > > test_check("recipes") Attaching package: 'purrr' The following object is masked from 'package:testthat': is_null 1 package (fastICA) is needed for this step but is not installed. To install run: `install.packages("fastICA")` 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` 1 package (dimRed) is needed for this step but is not installed. To install run: `install.packages("dimRed")` 1 package (mixOmics) is needed for this step but is not installed. To install run: `install.packages("mixOmics")` 1 package (mixOmics) is needed for this step but is not installed. To install run: `install.packages("mixOmics")` 1 package (mixOmics) is needed for this step but is not installed. To install run: `install.packages("mixOmics")` 1 package (mixOmics) is needed for this step but is not installed. To install run: `install.packages("mixOmics")` 1 package (mixOmics) is needed for this step but is not installed. To install run: `install.packages("mixOmics")` 1 package (mixOmics) is needed for this step but is not installed. To install run: `install.packages("mixOmics")` [ FAIL 1 | WARN 0 | SKIP 492 | PASS 2171 ] ══ Skipped tests (492) ═════════════════════════════════════════════════════════ • On CRAN (456): 'test-BoxCox.R:77:3', 'test-BoxCox.R:83:3', 'test-BoxCox.R:111:3', 'test-BoxCox.R:148:3', 'test-YeoJohnson.R:89:3', 'test-YeoJohnson.R:112:3', 'test-YeoJohnson.R:149:3', 'test-arrange.R:76:3', 'test-arrange.R:113:3', 'test-basics.R:19:3', 'test-basics.R:34:3', 'test-basics.R:62:3', 'test-basics.R:128:3', 'test-basics.R:172:3', 'test-basics.R:200:3', 'test-basics.R:216:3', 'test-basics.R:280:3', 'test-basics.R:306:3', 'test-basics.R:318:3', 'test-basics.R:348:3', 'test-basics.R:359:3', 'test-basics.R:405:3', 'test-basics.R:420:3', 'test-bin2factor.R:47:3', 'test-bin2factor.R:86:3', 'test-bin2factor.R:123:3', 'test-bs.R:103:3', 'test-bs.R:154:3', 'test-bs.R:219:3', 'test-bs.R:233:3', 'test-case-weight-functions.R:144:3', 'test-case-weight-functions.R:158:3', 'test-center.R:94:3', 'test-center.R:115:3', 'test-center.R:139:3', 'test-center.R:176:3', 'test-class.R:19:3', 'test-class.R:38:3', 'test-class.R:53:3', 'test-class.R:102:3', 'test-class.R:133:3', 'test-class.R:170:3', 'test-classdist.R:87:3', 'test-classdist.R:171:3', 'test-classdist.R:192:3', 'test-classdist.R:264:3', 'test-classdist.R:279:3', 'test-classdist_shrunken.R:84:3', 'test-classdist_shrunken.R:180:3', 'test-classdist_shrunken.R:259:3', 'test-colcheck.R:38:3', 'test-colcheck.R:163:3', 'test-colcheck.R:200:3', 'test-corr.R:41:3', 'test-corr.R:56:3', 'test-corr.R:104:3', 'test-corr.R:147:3', 'test-corr.R:185:3', 'test-count.R:49:3', 'test-count.R:64:3', 'test-count.R:93:3', 'test-count.R:161:3', 'test-count.R:175:3', 'test-cut.R:4:3', 'test-cut.R:31:3', 'test-cut.R:193:3', 'test-cut.R:230:3', 'test-date.R:98:3', 'test-date.R:201:3', 'test-date.R:271:3', 'test-date.R:285:3', 'test-deprec-impute_bag.R:2:3', 'test-deprec-impute_knn.R:2:3', 'test-deprec-impute_lower.R:2:3', 'test-deprec-impute_median.R:2:3', 'test-deprec-impute_mena.R:2:3', 'test-deprec-impute_mode.R:2:3', 'test-deprec-impute_roll.R:2:3', 'test-depth.R:105:3', 'test-depth.R:174:3', 'test-depth.R:189:3', 'test-discretize.R:45:3', 'test-discretize.R:49:3', 'test-discretize.R:126:3', 'test-discretize.R:142:3', 'test-discretize.R:191:3', 'test-discretize.R:228:3', 'test-dummy.R:72:3', 'test-dummy.R:79:3', 'test-dummy.R:160:3', 'test-dummy.R:182:3', 'test-dummy.R:215:3', 'test-dummy.R:235:3', 'test-dummy.R:294:3', 'test-dummy.R:316:3', 'test-dummy.R:329:3', 'test-dummy.R:364:3', 'test-dummy.R:429:3', 'test-dummy.R:443:3', 'test-dummy_extract.R:81:3', 'test-dummy_extract.R:228:3', 'test-dummy_extract.R:270:3', 'test-dummy_extract.R:317:3', 'test-dummy_extract.R:384:3', 'test-dummy_extract.R:398:3', 'test-dummy_multi_choice.R:42:3', 'test-dummy_multi_choice.R:52:3', 'test-dummy_multi_choice.R:154:3', 'test-dummy_multi_choice.R:219:3', 'test-dummy_multi_choice.R:233:3', 'test-extension_check.R:2:3', 'test-extract-dials.R:62:3', 'test-extract-dials.R:74:3', 'test-extract_fit_time.R:28:3', 'test-factor2string.R:28:3', 'test-factor2string.R:52:3', 'test-factor2string.R:89:3', 'test-filter.R:116:3', 'test-filter.R:153:3', 'test-filter_missing.R:77:3', 'test-filter_missing.R:110:3', 'test-filter_missing.R:147:3', 'test-format.R:68:3', 'test-formula.R:21:3', 'test-formula.R:62:3', 'test-geodist.R:72:3', 'test-geodist.R:163:3', 'test-geodist.R:175:3', 'test-geodist.R:242:3', 'test-geodist.R:326:3', 'test-geodist.R:343:3', 'test-harmonic.R:25:3', 'test-harmonic.R:268:3', 'test-harmonic.R:284:3', 'test-harmonic.R:303:3', 'test-harmonic.R:320:3', 'test-harmonic.R:399:3', 'test-harmonic.R:446:3', 'test-harmonic.R:520:3', 'test-harmonic.R:534:3', 'test-holiday.R:179:3', 'test-holiday.R:203:3', 'test-holiday.R:270:3', 'test-holiday.R:284:3', 'test-hyperbolic.R:59:3', 'test-hyperbolic.R:80:3', 'test-hyperbolic.R:122:3', 'test-impute_bag.R:136:3', 'test-impute_bag.R:174:3', 'test-impute_knn.R:154:3', 'test-impute_knn.R:194:3', 'test-impute_knn.R:240:3', 'test-impute_linear.R:62:3', 'test-impute_linear.R:109:3', 'test-impute_linear.R:154:3', 'test-impute_linear.R:191:3', 'test-impute_lower.R:57:3', 'test-impute_lower.R:82:3', 'test-impute_lower.R:120:3', 'test-impute_mean.R:82:3', 'test-impute_mean.R:160:3', 'test-impute_mean.R:219:3', 'test-impute_mean.R:256:3', 'test-impute_median.R:66:3', 'test-impute_median.R:99:3', 'test-impute_median.R:141:3', 'test-impute_median.R:178:3', 'test-impute_mode.R:68:3', 'test-impute_mode.R:94:3', 'test-impute_mode.R:117:3', 'test-impute_mode.R:159:3', 'test-impute_mode.R:196:3', 'test-impute_roll.R:73:3', 'test-impute_roll.R:128:3', 'test-impute_roll.R:166:3', 'test-indicate_na.R:95:3', 'test-indicate_na.R:118:3', 'test-indicate_na.R:183:3', 'test-indicate_na.R:197:3', 'test-integer.R:98:3', 'test-integer.R:135:3', 'test-interact.R:173:3', 'test-interact.R:311:3', 'test-interact.R:336:3', 'test-interact.R:343:3', 'test-interact.R:408:3', 'test-interact.R:422:3', 'test-intercept.R:35:3', 'test-intercept.R:61:3', 'test-intercept.R:97:3', 'test-inverse.R:56:3', 'test-inverse.R:93:3', 'test-invlogit.R:47:3', 'test-invlogit.R:83:3', 'test-isomap.R:41:3', 'test-isomap.R:66:3', 'test-isomap.R:91:3', 'test-isomap.R:110:3', 'test-isomap.R:147:3', 'test-isomap.R:169:3', 'test-isomap.R:203:3', 'test-isomap.R:238:3', 'test-isomap.R:262:3', 'test-kpca.R:51:3', 'test-kpca.R:74:3', 'test-kpca.R:111:3', 'test-kpca.R:178:3', 'test-kpca.R:194:3', 'test-kpca_poly.R:57:3', 'test-kpca_poly.R:68:3', 'test-kpca_poly.R:121:3', 'test-kpca_poly.R:192:3', 'test-kpca_poly.R:208:3', 'test-kpca_rbf.R:57:3', 'test-kpca_rbf.R:68:3', 'test-kpca_rbf.R:119:3', 'test-kpca_rbf.R:186:3', 'test-kpca_rbf.R:202:3', 'test-lag.R:40:3', 'test-lag.R:98:3', 'test-lag.R:163:3', 'test-lag.R:177:3', 'test-lincomb.R:81:3', 'test-lincomb.R:118:3', 'test-log.R:58:3', 'test-log.R:79:3', 'test-log.R:116:3', 'test-logit.R:45:3', 'test-logit.R:68:3', 'test-logit.R:105:3', 'test-matrix.R:67:3', 'test-misc.R:13:3', 'test-misc.R:29:3', 'test-misc.R:33:3', 'test-missing.R:28:3', 'test-missing.R:35:3', 'test-missing.R:45:3', 'test-missing.R:68:3', 'test-missing.R:105:3', 'test-mutate.R:64:3', 'test-mutate.R:128:3', 'test-mutate.R:169:3', 'test-mutate.R:193:3', 'test-mutate_at.R:95:3', 'test-mutate_at.R:132:3', 'test-naomit.R:54:3', 'test-naomit.R:91:3', 'test-newvalues.R:13:3', 'test-newvalues.R:19:3', 'test-newvalues.R:29:3', 'test-newvalues.R:39:3', 'test-newvalues.R:50:3', 'test-newvalues.R:72:3', 'test-newvalues.R:92:3', 'test-newvalues.R:102:3', 'test-newvalues.R:131:3', 'test-newvalues.R:137:3', 'test-newvalues.R:143:3', 'test-newvalues.R:149:3', 'test-newvalues.R:155:3', 'test-newvalues.R:176:3', 'test-newvalues.R:213:3', 'test-nomial_types.R:140:3', 'test-nomial_types.R:157:3', 'test-nomial_types.R:173:3', 'test-normalize.R:68:3', 'test-normalize.R:100:3', 'test-normalize.R:122:3', 'test-normalize.R:148:3', 'test-normalize.R:173:3', 'test-normalize.R:215:3', 'test-novel.R:79:3', 'test-novel.R:117:3', 'test-novel.R:154:3', 'test-ns.R:105:3', 'test-ns.R:156:3', 'test-ns.R:221:3', 'test-ns.R:235:3', 'test-num2factor.R:38:3', 'test-num2factor.R:67:3', 'test-num2factor.R:104:3', 'test-nzv.R:64:3', 'test-nzv.R:71:3', 'test-nzv.R:120:3', 'test-nzv.R:195:3', 'test-nzv.R:232:3', 'test-ordinalscore.R:69:3', 'test-ordinalscore.R:94:3', 'test-ordinalscore.R:131:3', 'test-other.R:237:3', 'test-other.R:270:5', 'test-other.R:347:3', 'test-other.R:392:3', 'test-other.R:429:3', 'test-pca.R:82:3', 'test-pca.R:132:3', 'test-pca.R:157:3', 'test-pca.R:167:3', 'test-pca.R:213:3', 'test-pca.R:273:3', 'test-pca.R:343:3', 'test-pca.R:358:3', 'test-percentile.R:142:3', 'test-percentile.R:187:3', 'test-percentile.R:245:3', 'test-percentile.R:287:3', 'test-pkg_check.R:2:3', 'test-pls.R:242:3', 'test-pls.R:293:3', 'test-pls_old.R:29:3', 'test-poly.R:71:3', 'test-poly.R:135:3', 'test-poly.R:200:3', 'test-poly.R:215:3', 'test-poly_bernstein.R:82:3', 'test-poly_bernstein.R:129:3', 'test-poly_bernstein.R:199:3', 'test-profile.R:73:3', 'test-profile.R:138:3', 'test-profile.R:173:3', 'test-ptype.R:195:3', 'test-range.R:182:3', 'test-range.R:188:3', 'test-range.R:213:3', 'test-range.R:250:3', 'test-range_check.R:7:3', 'test-range_check.R:18:3', 'test-range_check.R:50:3', 'test-range_check.R:81:3', 'test-range_check.R:118:3', 'test-ratio.R:118:3', 'test-ratio.R:142:3', 'test-ratio.R:166:3', 'test-ratio.R:231:3', 'test-ratio.R:245:3', 'test-regex.R:41:3', 'test-regex.R:56:3', 'test-regex.R:83:3', 'test-regex.R:150:3', 'test-regex.R:164:3', 'test-relevel.R:25:3', 'test-relevel.R:66:3', 'test-relevel.R:103:3', 'test-relu.R:68:3', 'test-relu.R:110:3', 'test-relu.R:152:3', 'test-rename.R:63:3', 'test-rename.R:100:3', 'test-rename_at.R:36:3', 'test-rename_at.R:64:3', 'test-rename_at.R:101:3', 'test-retraining.R:28:3', 'test-rm.R:76:3', 'test-rm.R:183:3', 'test-rm.R:220:3', 'test-roles.R:41:3', 'test-roles.R:171:3', 'test-roles.R:195:3', 'test-roles.R:217:3', 'test-roles.R:226:3', 'test-roles.R:234:3', 'test-roles.R:246:3', 'test-roles.R:338:3', 'test-roles.R:370:3', 'test-roles.R:522:3', 'test-roles.R:569:3', 'test-roles.R:594:3', 'test-sample.R:72:3', 'test-sample.R:125:3', 'test-sample.R:151:3', 'test-sample.R:181:3', 'test-scale.R:67:3', 'test-scale.R:91:3', 'test-scale.R:117:3', 'test-scale.R:124:3', 'test-scale.R:141:3', 'test-scale.R:177:3', 'test-scale.R:214:3', 'test-select.R:125:3', 'test-select.R:152:3', 'test-select.R:182:3', 'test-selections.R:130:3', 'test-shuffle.R:68:3', 'test-shuffle.R:90:3', 'test-shuffle.R:127:3', 'test-skipping.R:18:3', 'test-slice.R:88:3', 'test-slice.R:111:3', 'test-slice.R:148:3', 'test-sparsity.R:66:3', 'test-spatialsign.R:73:3', 'test-spatialsign.R:111:3', 'test-spatialsign.R:151:3', 'test-spline_b.R:91:3', 'test-spline_b.R:113:3', 'test-spline_b.R:172:3', 'test-spline_b.R:242:3', 'test-spline_convex.R:91:3', 'test-spline_convex.R:113:3', 'test-spline_convex.R:172:3', 'test-spline_convex.R:242:3', 'test-spline_monotone.R:91:3', 'test-spline_monotone.R:113:3', 'test-spline_monotone.R:172:3', 'test-spline_monotone.R:242:3', 'test-spline_natural.R:83:3', 'test-spline_natural.R:142:3', 'test-spline_natural.R:212:3', 'test-spline_nonnegative.R:91:3', 'test-spline_nonnegative.R:113:3', 'test-spline_nonnegative.R:172:3', 'test-spline_nonnegative.R:242:3', 'test-sqrt.R:38:3', 'test-sqrt.R:75:3', 'test-string2factor.R:39:3', 'test-string2factor.R:84:3', 'test-string2factor.R:121:3', 'test-stringsAsFactors.R:27:3', 'test-stringsAsFactors.R:42:3', 'test-tidy.R:36:3', 'test-tidy.R:70:3', 'test-tidy.R:83:3', 'test-time.R:104:3', 'test-time.R:134:3', 'test-time.R:209:3', 'test-time.R:228:3', 'test-unknown.R:34:3', 'test-unknown.R:59:3', 'test-unknown.R:101:3', 'test-unknown.R:138:3', 'test-unorder.R:29:3', 'test-unorder.R:51:3', 'test-unorder.R:88:3', 'test-update-role-requirements.R:9:3', 'test-update-role-requirements.R:37:3', 'test-update-role-requirements.R:46:3', 'test-update-role-requirements.R:55:3', 'test-update-role-requirements.R:77:3', 'test-update-role-requirements.R:117:3', 'test-update-role-requirements.R:140:3', 'test-update-role-requirements.R:171:3', 'test-update-role-requirements.R:185:3', 'test-update-role-requirements.R:198:3', 'test-update-role-requirements.R:247:3', 'test-update-role-requirements.R:270:3', 'test-update-role-requirements.R:290:3', 'test-update-role-requirements.R:305:3', 'test-update.R:13:3', 'test-update.R:21:3', 'test-window.R:16:3', 'test-window.R:140:3', 'test-window.R:165:3', 'test-window.R:237:3', 'test-window.R:251:3', 'test-zv.R:99:3', 'test-zv.R:139:3' • RcppML cannot be loaded (9): 'test-nnmf_sparse.R:2:3', 'test-nnmf_sparse.R:18:3', 'test-nnmf_sparse.R:33:3', 'test-nnmf_sparse.R:48:3', 'test-nnmf_sparse.R:61:3', 'test-nnmf_sparse.R:76:3', 'test-nnmf_sparse.R:96:3', 'test-nnmf_sparse.R:124:3', 'test-nnmf_sparse.R:142:3' • dimRed cannot be loaded (12): 'test-ica.R:38:3', 'test-ica.R:79:3', 'test-ica.R:96:3', 'test-ica.R:113:3', 'test-ica.R:143:3', 'test-ica.R:162:3', 'test-ica.R:177:3', 'test-ica.R:194:3', 'test-ica.R:216:3', 'test-ica.R:246:3', 'test-ica.R:266:3', 'test-ica.R:281:3' • mixOmics cannot be loaded (15): 'test-pls.R:32:3', 'test-pls.R:51:3', 'test-pls.R:70:3', 'test-pls.R:90:3', 'test-pls.R:111:3', 'test-pls.R:130:3', 'test-pls.R:139:3', 'test-pls.R:159:3', 'test-pls.R:170:3', 'test-pls.R:190:3', 'test-pls.R:226:3', 'test-pls.R:277:3', 'test-pls.R:332:3', 'test-pls.R:359:3', 'test-pls.R:376:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-dummy.R:341:3'): throws a informative error for too many levels (#828) ── `prep(rec)` did not throw the expected error. [ FAIL 1 | WARN 0 | SKIP 492 | PASS 2171 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [10s] OK * checking PDF version of manual ... [24s] OK * checking HTML version of manual ... [27s] OK * DONE Status: 1 ERROR