Running 'testthat.R' [152s]
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
  
  d:\Rcompile\CRANpkg\local\4.4\EWSmethods.Rcheck\tests\testthat>CALL "C:\Users\CRAN\AppData\Local\r-miniconda\condabin\activate.bat" "test_env" 
  
  d:\Rcompile\CRANpkg\local\4.4\EWSmethods.Rcheck\tests\testthat>conda.bat activate "test_env" 
  
  (test_env) d:\Rcompile\CRANpkg\local\4.4\EWSmethods.Rcheck\tests\testthat>"C:\Users\CRAN\AppData\Local\r-miniconda\envs\test_env/python.exe" -m pip install --upgrade --no-user --timeout=1000 tensorflow scikit-learn pandas matplotlib sphinxcontrib-matlabdomain seaborn 
  Requirement already satisfied: tensorflow in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (2.13.0)
  Collecting tensorflow
    Using cached tensorflow-2.13.1-cp38-cp38-win_amd64.whl (1.9 kB)
  Requirement already satisfied: scikit-learn in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (1.3.2)
  Requirement already satisfied: pandas in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (2.0.3)
  Requirement already satisfied: matplotlib in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (3.7.4)
  Requirement already satisfied: sphinxcontrib-matlabdomain in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (0.20.2)
  Requirement already satisfied: seaborn in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (0.13.0)
  Requirement already satisfied: tensorflow-intel==2.13.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow) (2.13.0)
  Requirement already satisfied: flatbuffers>=23.1.21 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (23.3.3)
  Requirement already satisfied: libclang>=13.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (16.0.0)
  Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (0.31.0)
  Requirement already satisfied: astunparse>=1.6.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (1.6.3)
  Requirement already satisfied: absl-py>=1.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (1.4.0)
  Requirement already satisfied: tensorboard<2.14,>=2.13 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (2.13.0)
  Requirement already satisfied: typing-extensions<4.6.0,>=3.6.6 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (4.5.0)
  Requirement already satisfied: setuptools in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (66.0.0)
  Requirement already satisfied: h5py>=2.9.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (3.8.0)
  Requirement already satisfied: protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (4.22.3)
  Requirement already satisfied: packaging in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (23.1)
  Requirement already satisfied: tensorflow-estimator<2.14,>=2.13.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (2.13.0)
  Requirement already satisfied: six>=1.12.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (1.16.0)
  Requirement already satisfied: opt-einsum>=2.3.2 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (3.3.0)
  Requirement already satisfied: grpcio<2.0,>=1.24.3 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (1.54.0)
  Requirement already satisfied: gast<=0.4.0,>=0.2.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (0.4.0)
  Requirement already satisfied: keras<2.14,>=2.13.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (2.13.1)
  Requirement already satisfied: numpy<=1.24.3,>=1.22 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (1.23.5)
  Requirement already satisfied: termcolor>=1.1.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (2.2.0)
  Requirement already satisfied: google-pasta>=0.1.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (0.2.0)
  Requirement already satisfied: wrapt>=1.11.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorflow-intel==2.13.0->tensorflow) (1.14.1)
  Requirement already satisfied: scipy>=1.5.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from scikit-learn) (1.10.1)
  Requirement already satisfied: joblib>=1.1.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from scikit-learn) (1.2.0)
  Requirement already satisfied: threadpoolctl>=2.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from scikit-learn) (3.1.0)
  Requirement already satisfied: python-dateutil>=2.8.2 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from pandas) (2.8.2)
  Requirement already satisfied: tzdata>=2022.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from pandas) (2023.3)
  Requirement already satisfied: pytz>=2020.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from pandas) (2023.3)
  Requirement already satisfied: fonttools>=4.22.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (4.39.3)
  Requirement already satisfied: importlib-resources>=3.2.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (5.12.0)
  Requirement already satisfied: pyparsing>=2.3.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (3.0.9)
  Requirement already satisfied: contourpy>=1.0.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (1.0.7)
  Requirement already satisfied: pillow>=6.2.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (9.5.0)
  Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (1.4.4)
  Requirement already satisfied: cycler>=0.10 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from matplotlib) (0.11.0)
  Requirement already satisfied: Pygments>=2.0.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from sphinxcontrib-matlabdomain) (2.15.1)
  Requirement already satisfied: Sphinx>=4.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from sphinxcontrib-matlabdomain) (6.1.3)
  Requirement already satisfied: zipp>=3.1.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from importlib-resources>=3.2.0->matplotlib) (3.15.0)
  Requirement already satisfied: docutils<0.20,>=0.18 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (0.19)
  Requirement already satisfied: Jinja2>=3.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (3.1.2)
  Requirement already satisfied: imagesize>=1.3 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.4.1)
  Requirement already satisfied: importlib-metadata>=4.8 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (6.5.0)
  Requirement already satisfied: snowballstemmer>=2.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (2.2.0)
  Requirement already satisfied: colorama>=0.4.5 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (0.4.6)
  Requirement already satisfied: sphinxcontrib-htmlhelp>=2.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (2.0.1)
  Requirement already satisfied: babel>=2.9 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (2.12.1)
  Requirement already satisfied: sphinxcontrib-qthelp in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.0.3)
  Requirement already satisfied: sphinxcontrib-jsmath in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.0.1)
  Requirement already satisfied: sphinxcontrib-devhelp in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.0.2)
  Requirement already satisfied: sphinxcontrib-serializinghtml>=1.1.5 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.1.5)
  Requirement already satisfied: requests>=2.25.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (2.28.2)
  Requirement already satisfied: alabaster<0.8,>=0.7 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (0.7.13)
  Requirement already satisfied: sphinxcontrib-applehelp in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.0.4)
  Requirement already satisfied: wheel<1.0,>=0.23.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from astunparse>=1.6.0->tensorflow-intel==2.13.0->tensorflow) (0.38.4)
  Requirement already satisfied: MarkupSafe>=2.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from Jinja2>=3.0->Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (2.1.2)
  Requirement already satisfied: idna<4,>=2.5 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from requests>=2.25.0->Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (3.4)
  Requirement already satisfied: certifi>=2017.4.17 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from requests>=2.25.0->Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (2022.12.7)
  Requirement already satisfied: charset-normalizer<4,>=2 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from requests>=2.25.0->Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (3.1.0)
  Requirement already satisfied: urllib3<1.27,>=1.21.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from requests>=2.25.0->Sphinx>=4.0.0->sphinxcontrib-matlabdomain) (1.26.15)
  Requirement already satisfied: markdown>=2.6.8 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (3.4.3)
  Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (1.0.0)
  Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (0.7.0)
  Requirement already satisfied: werkzeug>=1.0.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (2.2.3)
  Requirement already satisfied: google-auth<3,>=1.6.3 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (2.17.3)
  Requirement already satisfied: pyasn1-modules>=0.2.1 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (0.3.0)
  Requirement already satisfied: rsa<5,>=3.1.4 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (4.9)
  Requirement already satisfied: cachetools<6.0,>=2.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (5.3.0)
  Requirement already satisfied: requests-oauthlib>=0.7.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (1.3.1)
  Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (0.5.0)
  Requirement already satisfied: oauthlib>=3.0.0 in c:\users\cran\appdata\local\r-miniconda\envs\test_env\lib\site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard<2.14,>=2.13->tensorflow-intel==2.13.0->tensorflow) (3.2.2)
  test_env successfully found and activated. Necessary python packages installed 
  trying URL 'https://drive.google.com/u/0/uc?export=download&confirm=EoIm&id=19OuqzrY1LQxZusByf4ACPj-yiex4LY2e'
  Content type 'application/zip' length 223054273 bytes (212.7 MB)
  =================================
  downloaded 142.1 MB
  
  [ FAIL 1 | WARN 32 | SKIP 0 | PASS 64 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-reset_ewsnet.R:2:3'): EWSNet model weights can be downloaded and removed ──
  Error in `utils::download.file("https://drive.google.com/u/0/uc?export=download&confirm=EoIm&id=19OuqzrY1LQxZusByf4ACPj-yiex4LY2e", 
      destfile = zip, overwrite = TRUE, mode = "wb")`: download from 'https://drive.google.com/u/0/uc?export=download&confirm=EoIm&id=19OuqzrY1LQxZusByf4ACPj-yiex4LY2e' failed
  Backtrace:
      ▆
   1. └─EWSmethods::ewsnet_reset(...) at test-reset_ewsnet.R:2:3
   2.   └─utils::download.file(...)
  
  [ FAIL 1 | WARN 32 | SKIP 0 | PASS 64 ]
  Error: Test failures
  Execution halted