Running 'testthat.R' [154s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(EWSmethods)
  > 
  > test_check("EWSmethods")
  data successfully aggregated into monthly time steps
  
  data successfully aggregated into monthly time steps
  
  data successfully aggregated into monthly time steps
  
  Attention: may take up to 10 minutes to complete
  + "C:/Users/CRAN/AppData/Local/r-miniconda/condabin/conda.bat" create --yes --name test_env python --quiet -c conda-forge
  Retrieving notices: ...working... done
  Collecting package metadata (current_repodata.json): ...working... done
  Solving environment: ...working... done
  
  ## Package Plan ##
  
    environment location: C:\Users\CRAN\AppData\Local\R-MINI~1\envs\test_env
  
    added / updated specs:
      - python
  
  
  The following packages will be downloaded:
  
      package                    |            build
      ---------------------------|-----------------
      vc14_runtime-14.51.36231   |      h1b9f54f_36         722 KB  conda-forge
      vcomp14-14.51.36231        |      h1b9f54f_36         121 KB  conda-forge
      ------------------------------------------------------------
                                             Total:         844 KB
  
  The following NEW packages will be INSTALLED:
  
    bzip2              conda-forge/win-64::bzip2-1.0.8-h0ad9c76_9 
    ca-certificates    conda-forge/noarch::ca-certificates-2026.4.22-h4c7d964_0 
    libexpat           conda-forge/win-64::libexpat-2.8.0-hac47afa_0 
    libffi             conda-forge/win-64::libffi-3.5.2-h3d046cb_0 
    liblzma            conda-forge/win-64::liblzma-5.8.3-hfd05255_0 
    libmpdec           conda-forge/win-64::libmpdec-4.0.0-hfd05255_1 
    libsqlite          conda-forge/win-64::libsqlite-3.53.1-hf5d6505_0 
    libzlib            conda-forge/win-64::libzlib-1.3.2-hfd05255_2 
    openssl            conda-forge/win-64::openssl-3.6.2-hf411b9b_0 
    pip                conda-forge/noarch::pip-26.1.1-pyh145f28c_0 
    python             conda-forge/win-64::python-3.14.4-h4b44e0e_100_cp314 
    python_abi         conda-forge/noarch::python_abi-3.14-8_cp314 
    tk                 conda-forge/win-64::tk-8.6.13-h6ed50ae_3 
    tzdata             conda-forge/noarch::tzdata-2025c-hc9c84f9_1 
    ucrt               conda-forge/win-64::ucrt-10.0.26100.0-h57928b3_0 
    vc                 pkgs/main/win-64::vc-14.3-h2df5915_10 
    vc14_runtime       conda-forge/win-64::vc14_runtime-14.51.36231-h1b9f54f_36 
    vcomp14            conda-forge/win-64::vcomp14-14.51.36231-h1b9f54f_36 
    zstd               conda-forge/win-64::zstd-1.5.7-h534d264_6 
  
  
  Preparing transaction: ...working... done
  Verifying transaction: ...working... done
  Executing transaction: ...working... done
  Saving _problems/test-ewsnet_init-18.R
  [ FAIL 1 | WARN 33 | SKIP 1 | PASS 71 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-reset_ewsnet.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-ewsnet_init.R:18:3'): EWSNet can be correctly initialised ──────
  Error: lexical error: invalid character inside string.
            0_20653\\RtmpeMXMbD\\rapp-bin- frontmatterba3c3ed76664;D:\\t
                       (right here) ------^
  
  Backtrace:
      ▆
   1. └─EWSmethods::ewsnet_init(envname = "test_env", auto = TRUE) at test-ewsnet_init.R:18:3
   2.   └─reticulate::conda_install(...)
   3.     └─reticulate::conda_create(...)
   4.       └─reticulate::conda_python(envname = envname, conda = conda)
   5.         └─reticulate::conda_list(conda = conda)
   6.           └─jsonlite::fromJSON(conda_envs)
   7.             └─jsonlite:::parse_and_simplify(...)
   8.               └─jsonlite:::parseJSON(txt, bigint_as_char)
   9.                 └─jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 1 | WARN 33 | SKIP 1 | PASS 71 ]
  Error:
  ! Test failures.
  Execution halted