Running 'testthat.R' [175s]
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(bundle)
  > 
  > test_check("bundle")
  Loading required package: ggplot2
  Loading required package: lattice
  Loading required package: 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
  
  
  Attaching package: 'xgboost'
  
  The following object is masked from 'package:dplyr':
  
      slice
  
  [1]	train-logloss:0.233376 
  [2]	train-logloss:0.136658 
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 41 ]
  
  == Skipped tests ===============================================================
  * !interactive() is TRUE (5)
  * On CRAN (1)
  * is_tf_available() is not TRUE (2)
  
  == Failed tests ================================================================
  -- Error ('test_bundle_keras.R:4'): bundling + unbundling keras fits -----------
  Error: lexical error: invalid char in json text.
                                         NA
                       (right here) ------^
  
  Backtrace:
       x
    1. +-testthat::skip_if(is.null(tensorflow::tf_version())) at test_bundle_keras.R:4:2
    2. | \-base::isTRUE(condition)
    3. \-tensorflow::tf_version()
    4.   \-tensorflow::tf_config()
    5.     \-reticulate::py_config()
    6.       \-reticulate:::ensure_python_initialized()
    7.         \-reticulate:::initialize_python(required_module, use_environment)
    8.           \-(function() {...
    9.             \-reticulate::py_discover_config(required_module, use_environment)
   10.               \-reticulate:::python_conda_versions()
   11.                 +-base::rbind(conda_envs, conda_list(conda = conda))
   12.                 | \-base::rbind(deparse.level, ...)
   13.                 \-reticulate::conda_list(conda = conda)
   14.                   \-jsonlite::fromJSON(conda_envs)
   15.                     \-jsonlite:::parse_and_simplify(...)
   16.                       \-jsonlite:::parseJSON(txt, bigint_as_char)
   17.                         \-jsonlite:::parse_string(txt, bigint_as_char)
  
  [ FAIL 1 | WARN 0 | SKIP 8 | PASS 41 ]
  Error: Test failures
  Execution halted