Running 'testthat.R' [112s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(FLAME)
  > 
  > test_check("FLAME")
  Package nnet needed. Install from CRAN? (Yes/no/cancel) 
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/nnet_7.3-16.zip'
  Content length 123708 bytes (120 KB)
  ==================================================
  downloaded 120 KB
  
  package 'nnet' successfully unpacked and MD5 sums checked
  Package nnet needed. Install from CRAN? (Yes/no/cancel) 
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/nnet_7.3-16.zip'
  Content length 123708 bytes (120 KB)
  ==================================================
  downloaded 120 KB
  
  package 'nnet' successfully unpacked and MD5 sums checked
  Package nnet needed. Install from CRAN? (Yes/no/cancel) 
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/nnet_7.3-16.zip'
  Content length 123708 bytes (120 KB)
  ==================================================
  downloaded 120 KB
  
  package 'nnet' successfully unpacked and MD5 sums checked
  Package nnet needed. Install from CRAN? (Yes/no/cancel) 
  trying URL 'https://cloud.r-project.org/bin/windows/contrib/4.2/nnet_7.3-16.zip'
  Content length 123708 bytes (120 KB)
  ==================================================
  downloaded 120 KB
  
  package 'nnet' successfully unpacked and MD5 sums checked
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_factors.R:81:3): missing data 'impute' doesn't leave new levels ──
  Error in `unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, 
      lock)`: package 'nnet' not installed because it is not built for UCRT
  Backtrace:
       █
    1. └─FLAME::FLAME(...) test_factors.R:81:2
    2.   ├─base::do.call(...)
    3.   └─(function (algo, data, holdout, C, treated_column_name, outcome_column_name, ...
    4.     └─FLAME:::preprocess(...)
    5.       └─FLAME:::handle_missing_data(...)
    6.         └─FLAME:::impute_missing(...)
    7.           └─mice::mice(...)
    8.             └─mice:::sampler(...)
    9.               └─mice:::sampler.univ(...)
   10.                 ├─base::do.call(f, args = args)
   11.                 └─mice::mice.impute.polyreg(...)
   12.                   └─mice:::install.on.demand("nnet", ...)
   13.                     └─utils::install.packages(...)
   14.                       └─utils:::.install.winbinary(...)
   15.                         └─utils:::unpackPkgZip(...)
  ── Error (test_missingness.R:37:3): replaced values don't show ─────────────────
  Error in `unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, 
      lock)`: package 'nnet' not installed because it is not built for UCRT
  Backtrace:
       █
    1. └─FLAME::FLAME(...) test_missingness.R:37:2
    2.   ├─base::do.call(...)
    3.   └─(function (algo, data, holdout, C, treated_column_name, outcome_column_name, ...
    4.     └─FLAME:::preprocess(...)
    5.       └─FLAME:::handle_missing_data(...)
    6.         └─FLAME:::impute_missing(...)
    7.           └─mice::mice(...)
    8.             └─mice:::sampler(...)
    9.               └─mice:::sampler.univ(...)
   10.                 ├─base::do.call(f, args = args)
   11.                 └─mice::mice.impute.polyreg(...)
   12.                   └─mice:::install.on.demand("nnet", ...)
   13.                     └─utils::install.packages(...)
   14.                       └─utils:::.install.winbinary(...)
   15.                         └─utils:::unpackPkgZip(...)
  ── Error (test_missingness.R:105:3): missing option 3 works ────────────────────
  Error in `unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, 
      lock)`: package 'nnet' not installed because it is not built for UCRT
  Backtrace:
       █
    1. └─FLAME::FLAME(...) test_missingness.R:105:2
    2.   ├─base::do.call(...)
    3.   └─(function (algo, data, holdout, C, treated_column_name, outcome_column_name, ...
    4.     └─FLAME:::preprocess(...)
    5.       └─FLAME:::handle_missing_data(...)
    6.         └─FLAME:::impute_missing(...)
    7.           └─mice::mice(...)
    8.             └─mice:::sampler(...)
    9.               └─mice:::sampler.univ(...)
   10.                 ├─base::do.call(f, args = args)
   11.                 └─mice::mice.impute.polyreg(...)
   12.                   └─mice:::install.on.demand("nnet", ...)
   13.                     └─utils::install.packages(...)
   14.                       └─utils:::.install.winbinary(...)
   15.                         └─utils:::unpackPkgZip(...)
  ── Error (test_one_covariate.R:55:3): runs with 'impute' missingness ───────────
  Error in `unpackPkgZip(foundpkgs[okp, 2L], foundpkgs[okp, 1L], lib, libs_only, 
      lock)`: package 'nnet' not installed because it is not built for UCRT
  Backtrace:
       █
    1. └─FLAME::FLAME(df, holdout, missing_data = "impute", missing_holdout = "impute") test_one_covariate.R:55:2
    2.   ├─base::do.call(...)
    3.   └─(function (algo, data, holdout, C, treated_column_name, outcome_column_name, ...
    4.     └─FLAME:::preprocess(...)
    5.       └─FLAME:::handle_missing_data(...)
    6.         └─FLAME:::impute_missing(...)
    7.           └─mice::mice(...)
    8.             └─mice:::sampler(...)
    9.               └─mice:::sampler.univ(...)
   10.                 ├─base::do.call(f, args = args)
   11.                 └─mice::mice.impute.polyreg(...)
   12.                   └─mice:::install.on.demand("nnet", ...)
   13.                     └─utils::install.packages(...)
   14.                       └─utils:::.install.winbinary(...)
   15.                         └─utils:::unpackPkgZip(...)
  
  [ FAIL 4 | WARN 5 | SKIP 0 | PASS 4292 ]
  Error: Test failures
  Execution halted