Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > os = switch(Sys.info()[['sysname']],
  +             Windows= 'windows',
  +             Linux  = 'linux',
  +             Darwin = 'mac')
  > 
  > options(reticulate.useImportHook = FALSE)
  > library(testthat)
  > library(fastai)
  
  Attaching package: 'fastai'
  
  The following object is masked from 'package:stats':
  
      reshape
  
  The following object is masked from 'package:graphics':
  
      plot
  
  The following objects are masked from 'package:grDevices':
  
      cm, colors, rgb2hsv
  
  The following object is masked from 'package:methods':
  
      show
  
  The following objects are masked from 'package:base':
  
      Recall, plot
  
  > library(reticulate)
  > library(magrittr)
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  > library(data.table)
  > 
  > test_check("fastai")
  ── Skip (???): download URLs_HORSE_2_ZEBRA ─────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): dataloader URLs_HORSE_2_ZEBRA ───────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): dataloader URLs_HORSE_2_ZEBRA ───────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): CycleGAN model ──────────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): download movie lens data ────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── ERROR (test-generics-tensor.R:5:1): (code run outside of `test_that()`) ─────
  Error: argument is of length zero
  
  ── ERROR (test-image.R:5:1): (code run outside of `test_that()`) ───────────────
  Error: argument is of length zero
  
  ── ERROR (test-medical.R:8:1): (code run outside of `test_that()`) ─────────────
  Error: argument is of length zero
  
  ── Skip (???): can load xresnet50_deep ─────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet50 ──────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet34_deep ─────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet34 ──────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet18_deep ─────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet18 ──────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet152 ─────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet101 ─────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load xresnet50_deep ─────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load alexnet ────────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load vgg19_bn ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load vgg16_bn ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load vgg13_bn ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load vgg11_bn ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load squeezenet1_1 ──────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load squeezenet1_0 ──────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load SqueezeNet ─────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load resnet50 ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load resnet34 ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load resnet18 ───────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load resnet152 ──────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load resnet101 ──────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load densenet121 ────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load densenet161 ────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load densenet169 ────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): can load densenet201 ────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── ERROR (test-pretrained_in_cnn_learner.R:7:1): (code run outside of `test_that
  Error: argument is of length zero
  
  ── Skip (???): iris load ───────────────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): dls create ──────────────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): tabular ops create model ────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): tabular ops dims==batch ─────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): tabular ops train model ─────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── Skip (???): tabular ops predict ─────────────────────────────────────────────
  Reason: fastai not available for testing
  
  ── ERROR (test-tabular.R:5:1): (code run outside of `test_that()`) ─────────────
  Error: argument is of length zero
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● fastai not available for testing (37)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test-generics-tensor.R:5:1): (code run outside of `test_that()`)
  ERROR (test-image.R:5:1): (code run outside of `test_that()`)
  ERROR (test-medical.R:8:1): (code run outside of `test_that()`)
  ERROR (test-pretrained_in_cnn_learner.R:7:1): (code run outside of `test_that()`)
  ERROR (test-tabular.R:5:1): (code run outside of `test_that()`)
  
  [ FAIL 5 | WARN 0 | SKIP 37 | PASS 0 ]
  Error: Test failures
  Execution halted