Note: the module "R" cannot be unloaded because it was not loaded. WARNING: ignoring environment value of R_HOME R Under development (unstable) (2025-03-26 r88060) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > cargs <- commandArgs(trailingOnly=TRUE) > if(length(cargs)==0){ + ## before running interactively, make sure to start emacs/R with + ## environment defined in /scratch/...check_one.sh, particularly + ## R_LIBS_USER=/tmp/... otherwise we get error when installing + ## data.table. + base <- "/scratch/th798/data.table-revdeps/*" + cargs <- c( + Sys.glob(file.path(base,"deps.csv")), + "349", + Sys.glob(file.path(base, "data.table_release_*tar.gz")), + Sys.glob(file.path(base, "data.table_master_*tar.gz")) + ) + } > names(cargs) <- c("deps.csv", "task.str", "release", "master") > dput(cargs) c(deps.csv = "/scratch/th798/data.table-revdeps/2025-03-27/deps.csv", task.str = "448", release = "/scratch/th798/data.table-revdeps/2025-03-27/data.table_release_1.17.0.tar.gz", master = "/scratch/th798/data.table-revdeps/2025-03-27/data.table_master_1.17.99.2cb03162a21328cc5f68a8c3b0e554f5edfcb5b9.tar.gz" ) > (task.dir <- dirname(.libPaths()[1]))#should be /tmp/th798/slurmid/R-vers [1] "/tmp/th798/16152617/R-devel/448" > if(requireNamespace("R.cache"))R.cache::getCachePath() Loading required namespace: R.cache [1] "/tmp/th798/16152617/R-devel/448/R.cache" > task.id <- as.integer(cargs[["task.str"]]) > deps.df <- read.csv(cargs[["deps.csv"]]) > (rev.dep <- deps.df$Package[task.id]) [1] "fastai" > job.dir <- file.path(dirname(cargs[["deps.csv"]]), "tasks", task.id) > setwd(task.dir) > .libPaths() [1] "/tmp/th798/16152617/R-devel/448/library" [2] "/projects/genomic-ml/R/R-devel/library" > options(repos=c(#this should be in ~/.Rprofile too. + CRAN="http://cloud.r-project.org")) > print(Sys.time()) [1] "2025-03-27 00:41:55 MST" > install.time <- system.time({ + install.packages(rev.dep, dep=TRUE) + }) Installing package into '/tmp/th798/16152617/R-devel/448/library' (as 'lib' is unspecified) trying URL 'http://cloud.r-project.org/src/contrib/fastai_2.2.2.tar.gz' Content type 'application/x-gzip' length 4539227 bytes (4.3 MB) ================================================== downloaded 4.3 MB * installing *source* package 'fastai' ... ** this is package 'fastai' version '2.2.2' ** package 'fastai' successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (fastai) The downloaded source packages are in '/tmp/th798/16152617/Rtmp5fgEiF/downloaded_packages' > cat("Time to install revdep:\n") Time to install revdep: > print(install.time) user system elapsed 23.274 2.270 48.504 > print(Sys.time()) [1] "2025-03-27 00:42:44 MST" > downloaded_packages <- file.path( + tempdir(), + "downloaded_packages") > dl.glob <- file.path( + downloaded_packages, + paste0(rev.dep,"_*.tar.gz")) > rev.dep.dl.row <- cbind(rev.dep, Sys.glob(dl.glob)) > colnames(rev.dep.dl.row) <- c("pkg","path") > rev.dep.release.tar.gz <- normalizePath(rev.dep.dl.row[,"path"], mustWork=TRUE) > pkg.Rcheck <- paste0(rev.dep, ".Rcheck") > > proj.dir <- "~/genomic-ml/data.table-revdeps" > source(file.path(proj.dir, "myStatus.R")) > Rvers <- gsub("[()]", "", gsub(" ", "_", R.version[["version.string"]])) > dir.create(Rvers, showWarnings=FALSE) > Rcheck.list <- list() > for(dt.version.short in c("release", "master")){ + dt.tar.gz <- cargs[[dt.version.short]] + dt.version <- gsub(".tar.gz|/.*?_", "", dt.tar.gz) + print(Sys.time()) + install.packages(dt.tar.gz, repos=NULL) + print(Sys.time()) + check.cmd <- get_check_cmd(rev.dep.release.tar.gz) + system(check.cmd) + print(Sys.time()) + dest.Rcheck <- file.path( + Rvers, + paste0(dt.version, ".Rcheck")) + unlink(dest.Rcheck, recursive=TRUE) + file.rename(pkg.Rcheck, dest.Rcheck) + Rcheck.list[[dt.version]] <- file.path(dest.Rcheck, "00check.log") + } [1] "2025-03-27 00:42:44 MST" Installing package into '/tmp/th798/16152617/R-devel/448/library' (as 'lib' is unspecified) * installing *source* package 'data.table' ... ** this is package 'data.table' version '1.17.0' ** package 'data.table' successfully unpacked and MD5 sums checked ** using staged installation zlib 1.2.13 is available ok * checking if R installation supports OpenMP without any extra hints... yes ** libs using C compiler: 'gcc (Spack GCC) 12.2.0' /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c assign.c -o assign.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c between.c -o between.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c bmerge.c -o bmerge.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c chmatch.c -o chmatch.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c cj.c -o cj.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c coalesce.c -o coalesce.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c dogroups.c -o dogroups.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fastmean.c -o fastmean.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fcast.c -o fcast.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fifelse.c -o fifelse.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fmelt.c -o fmelt.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c forder.c -o forder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frank.c -o frank.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fread.c -o fread.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c freadR.c -o freadR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c froll.c -o froll.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frollR.c -o frollR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frolladaptive.c -o frolladaptive.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fsort.c -o fsort.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwrite.c -o fwrite.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwriteR.c -o fwriteR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c gsumm.c -o gsumm.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c idatetime.c -o idatetime.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c ijoin.c -o ijoin.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c init.c -o init.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c inrange.c -o inrange.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nafill.c -o nafill.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c negate.c -o negate.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nqrecreateindices.c -o nqrecreateindices.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c openmp-utils.c -o openmp-utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c programming.c -o programming.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c quickselect.c -o quickselect.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c rbindlist.c -o rbindlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c reorder.c -o reorder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c shift.c -o shift.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c snprintf.c -o snprintf.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c subset.c -o subset.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c transpose.c -o transpose.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c types.c -o types.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c uniqlist.c -o uniqlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c utils.c -o utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c vecseq.c -o vecseq.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c wrappers.c -o wrappers.o /packages/gcc/12.2.0-nnbserq/bin/gcc -shared -L/home/th798/.conda/envs/emacs1/lib -Wl,-rpath=/home/th798/.conda/envs/emacs1/lib -L/home/th798/lib -Wl,-rpath=/home/th798/lib -L/home/th798/lib64 -Wl,-rpath=/home/th798/lib64 -o data.table.so assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o idatetime.o ijoin.o init.o inrange.o nafill.o negate.o nqrecreateindices.o openmp-utils.o programming.o quickselect.o rbindlist.o reorder.o shift.o snprintf.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz PKG_CFLAGS = -fopenmp -I/home/th798/.conda/envs/emacs1/include PKG_LIBS = -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz if [ "data.table.so" != "data_table.so" ]; then mv data.table.so data_table.so; fi if [ "" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id data_table.so data_table.so; fi installing to /tmp/th798/16152617/R-devel/448/library/00LOCK-data.table/00new/data.table/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (data.table) [1] "2025-03-27 00:43:05 MST" * using log directory '/tmp/th798/16152617/R-devel/448/fastai.Rcheck' * using R Under development (unstable) (2025-03-26 r88060) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (Spack GCC) 12.2.0 GNU Fortran (Spack GCC) 12.2.0 * running under: Red Hat Enterprise Linux 8.10 (Ootpa) * using session charset: ASCII * checking for file 'fastai/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fastai' version '2.2.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package 'fastai' can be installed ... OK * checking installed package size ... INFO installed size is 5.2Mb sub-directories of 1Mb or more: doc 3.0Mb help 1.3Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Complete output: > > > 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) > library(ggplot2) > library(ggpubr) > > test_check("fastai") trying URL 'https://efrosgans.eecs.berkeley.edu/cyclegan/datasets/horse2zebra.zip' Content type 'application/zip' length 116867962 bytes (111.5 MB) ================================================== downloaded 111.5 MB trying URL 'https://github.com/henry090/fastai/raw/master/files/hemorrhage.dcm' Content type 'application/octet-stream' length 524990 bytes (512 KB) ================================================== downloaded 512 KB trying URL 'https://github.com/henry090/fastai/raw/master/files/mnist.pkl.gz' Content type 'application/octet-stream' length 16168813 bytes (15.4 MB) ================================================== downloaded 15.4 MB [ FAIL 141 | WARN 158 | SKIP 0 | PASS 17 ] == Failed tests ================================================================ -- Failure ('test-collab.R:12:1'): movie lens prepare dls ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::CollabDataLoaders_from_df(...) at test-collab.R:13:3 8. \-base::do.call(collab()$CollabDataLoaders$from_df, args) -- Failure ('test-collab.R:16:1'): movie lens data model fit ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::collab_learner(dls, n_factors = 40, y_range = c(0, 5.5)) at test-collab.R:17:3 -- Failure ('test-experimental.R:17:1'): download mnist_sample ----------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-experimental.R:19:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-experimental.R:24:1'): mnist_sample dataloader --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-experimental.R:25:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:32:1'): mnist_sample load xresnet50_deep ------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-experimental.R:33:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:44:1'): tensor slice -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:5:1'): create tensor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(runif(10)) at test-generics-tensor.R:6:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:10:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_length(r_tensor, 10) at test-generics-tensor.R:11:3 8. \-testthat::quasi_label(enquo(object), arg = "object") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:15:1'): check == --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:20:1'): check != --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:25:1'): check pow -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:32:1'): check != --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:34:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:40:1'): check > ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:45:1'): check < ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:50:1'): check >= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:55:1'): check <= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:61:1'): check max -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:63:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:68:1'): check min -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:70:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:75:1'): check dim -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:83:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'res_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_equal(length(res), length(res_tensor)) at test-generics-tensor.R:84:3 8. \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:87:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:94:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:96:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:102:1'): check & --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:104:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:109:1'): check | --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:111:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:115:1'): check not ! ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:117:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:122:1'): check sort ascending -------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:124:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:128:1'): check sort descending ------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:130:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:134:1'): check abs ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:136:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:141:1'): check + add ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:143:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:148:1'): check - substr -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:150:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:154:1'): check / divide -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:156:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:161:1'): check * mul ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:163:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:168:1'): check exp ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:170:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:175:1'): check expm1 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:177:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:181:1'): check log ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:183:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:187:1'): check log1p ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:189:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:194:1'): check round ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:196:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:201:1'): check sqrt ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:203:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:210:1'): check floor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:212:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:218:1'): check ceiling --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:220:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:225:1'): check cos ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:227:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:231:1'): check cosh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:233:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:237:1'): check sin ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:239:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:243:1'): check sinh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:245:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:249:1'): check mean ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:251:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:5:1'): download mnist_sample ------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-image.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-image.R:12:1'): mnist_sample transformations ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-image.R:13:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:19:1'): mnist_sample load into memory from folder ---- `force(expr)` threw an error. Message: object 'path' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ImageDataLoaders_from_folder(...) at test-image.R:20:3 -- Failure ('test-image.R:28:1'): mnist_sample cnn_learner --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, resnet18(), metrics = accuracy) at test-image.R:29:3 8. \-fastai::resnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-medical.R:7:1'): download URLs_SIIM_SMALL -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-medical.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-medical.R:14:1'): read dcm URLs_SIIM_SMALL ------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-medical.R:15:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-medical.R:27:1'): gather dcm URLs_SIIM_SMALL ----------------- `force(expr)` threw an error. Message: object 'items' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical.R:46:1'): datalaoder and block for URLs_SIIM_SMALL --- `force(expr)` threw an error. Message: File 'siim_small/labels.csv' does not exist or is non-readable. getwd()=='/tmp/th798/16152617/R-devel/448/fastai.Rcheck/tests/testthat' Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-data.table::fread("siim_small/labels.csv") at test-medical.R:47:3 8. \-data.table:::stopf(...) 9. \-data.table:::raise_condition(...) -- Failure ('test-medical_image_render.R:12:1'): read/subplot dcm file GITHUB -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::dcmread("hemorrhage.dcm") at test-medical_image_render.R:13:3 -- Failure ('test-medical_image_render.R:16:1'): render dcm file GITHUB -------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical_image_render.R:34:1'): cmap for dcm file GITHUB ------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-img %>% show(cmap = cm()$gist_ncar, figsize = c(6, 6)) at test-medical_image_render.R:35:3 8. \-fastai::show(., cmap = cm()$gist_ncar, figsize = c(6, 6)) -- Failure ('test-model_load.R:6:1'): can load xresnet50_deep ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:10:1'): can load xresnet50 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50() at test-model_load.R:11:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:14:1'): can load xresnet34_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:15:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:18:1'): can load xresnet34 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34() at test-model_load.R:19:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:22:1'): can load xresnet18_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:23:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:26:1'): can load xresnet18 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet18() at test-model_load.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:31:1'): can load xresnet152 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet152() at test-model_load.R:32:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:35:1'): can load xresnet101 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet101() at test-model_load.R:36:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:39:1'): can load xresnet50_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:40:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:44:1'): can load alexnet ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::alexnet(progress = TRUE) at test-model_load.R:45:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:48:1'): can load vgg19_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg19_bn(progress = TRUE) at test-model_load.R:49:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:52:1'): can load vgg16_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg16_bn(progress = TRUE) at test-model_load.R:53:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:56:1'): can load vgg13_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg13_bn(progress = TRUE) at test-model_load.R:57:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:60:1'): can load vgg11_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg11_bn(progress = TRUE) at test-model_load.R:61:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:64:1'): can load squeezenet1_1 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_1(progress = TRUE) at test-model_load.R:65:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:68:1'): can load squeezenet1_0 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_0(progress = TRUE) at test-model_load.R:69:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:72:1'): can load SqueezeNet --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::SqueezeNet() at test-model_load.R:73:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:76:1'): can load resnet50 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet50(progress = TRUE) at test-model_load.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:80:1'): can load resnet34 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet34(progress = TRUE) at test-model_load.R:81:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:84:1'): can load resnet18 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet18(progress = TRUE) at test-model_load.R:85:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:88:1'): can load resnet152 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet152(progress = TRUE) at test-model_load.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:92:1'): can load resnet101 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet101(progress = TRUE) at test-model_load.R:93:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:96:1'): can load densenet121 -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet121(progress = TRUE) at test-model_load.R:97:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:100:1'): can load densenet161 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet161(progress = TRUE) at test-model_load.R:101:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:104:1'): can load densenet169 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet169(progress = TRUE) at test-model_load.R:105:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:108:1'): can load densenet201 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet201(progress = TRUE) at test-model_load.R:109:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:6:1'): modify scalar tensor ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:15:1'): modify 2 values tensor ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:16:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-nn_module.R:8:1'): download MNIST pickler -------------------- `force(expr)` threw an error. Message: NA in coercion to boolean Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-R.utils::gunzip("mnist.pkl.gz", remove = FALSE) at test-nn_module.R:10:3 8. \-R.utils::gunzip.default("mnist.pkl.gz", remove = FALSE) 9. +-R.utils::decompressFile(...) 10. \-R.utils::decompressFile.default(...) 11. +-R.utils::popTemporaryFile(destnameT) 12. \-R.utils::popTemporaryFile.default(destnameT) 13. \-base::regexpr(pattern, "", pathnameT) -- Failure ('test-nn_module.R:13:1'): fit nn_module MNIST ---------------------- `force(expr)` threw an error. Message: FileNotFoundError: [Errno 2] No such file or directory: 'mnist.pkl' Run `reticulate::py_last_error()` for details. Class: python.builtin.FileNotFoundError/python.builtin.OSError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-reticulate::py_load_object("mnist.pkl", encoding = "latin-1") at test-nn_module.R:14:3 8. \-builtins$open(filename, "rb") 9. \-reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named) -- Failure ('test-predict_medical.R:5:1'): download URLs_SIIM_SMALL ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-predict_medical.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-predict_medical.R:11:1'): prepare dataloader and model ------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-predict_medical.R:12:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-pretrained_in_cnn_learner.R:7:1'): download mnist_sample ----- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-pretrained_in_cnn_learner.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:14:1'): mnist_sample dataloader -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-pretrained_in_cnn_learner.R:15:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:22:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:23:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:27:1'): mnist_sample load xresnet50 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:28:3 8. \-fastai::xresnet50() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:33:1'): mnist_sample load xresnet34_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:34:3 8. \-fastai::xresnet34_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:38:1'): mnist_sample load xresnet34 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:39:3 8. \-fastai::xresnet34() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:43:1'): mnist_sample load xresnet18_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:44:3 8. \-fastai::xresnet18_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:49:1'): mnist_sample load xresnet18 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:50:3 8. \-fastai::xresnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:55:1'): mnist_sample load xresnet152 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:56:3 8. \-fastai::xresnet152() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:60:1'): mnist_sample load xresnet101 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:61:3 8. \-fastai::xresnet101() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:66:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:67:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:71:1'): download PETS ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_PETS() at test-pretrained_in_cnn_learner.R:73:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$PETS, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:89:1'): pet show batch ----------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::show_batch(dls) at test-pretrained_in_cnn_learner.R:90:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:93:1'): pet load alexnet --------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, alexnet(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:94:3 -- Failure ('test-pretrained_in_cnn_learner.R:105:1'): pet load vgg19_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg19_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:106:3 -- Failure ('test-pretrained_in_cnn_learner.R:110:1'): pet load vgg16_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg16_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:111:3 -- Failure ('test-pretrained_in_cnn_learner.R:115:1'): pet load vgg13_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg13_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:116:3 -- Failure ('test-pretrained_in_cnn_learner.R:121:1'): pet load vgg11_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg11_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:122:3 -- Failure ('test-pretrained_in_cnn_learner.R:126:1'): pet load squeezenet1_1 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_1(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:127:3 -- Failure ('test-pretrained_in_cnn_learner.R:132:1'): pet load squeezenet1_0 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_0(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:133:3 -- Failure ('test-pretrained_in_cnn_learner.R:137:1'): pet load resnet50 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:138:3 -- Failure ('test-pretrained_in_cnn_learner.R:142:1'): pet load resnet34 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:143:3 -- Failure ('test-pretrained_in_cnn_learner.R:147:1'): pet load resnet18 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:148:3 -- Failure ('test-pretrained_in_cnn_learner.R:152:1'): pet load resnet152 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:153:3 -- Failure ('test-pretrained_in_cnn_learner.R:157:1'): pet load resnet101 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:158:3 -- Failure ('test-pretrained_in_cnn_learner.R:163:1'): pet load densenet121 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet121(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:164:3 -- Failure ('test-pretrained_in_cnn_learner.R:168:1'): pet load densenet161 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet161(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:169:3 -- Failure ('test-pretrained_in_cnn_learner.R:173:1'): pet load densenet169 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet169(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:174:3 -- Failure ('test-pretrained_in_cnn_learner.R:178:1'): pet load densenet201 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet201(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:179:3 -- Failure ('test-pretrained_in_cnn_learner.R:183:1'): pet load timm mixnet_xl -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::timm_learner(...) at test-pretrained_in_cnn_learner.R:184:3 -- Failure ('test-regression.R:12:1'): dls create ------------------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-regression.R:13:3 -- Failure ('test-regression.R:20:1'): tabular ops create model ---------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% ... at test-regression.R:21:3 8. \-fastai::tabular_learner(...) -- Failure ('test-regression.R:24:1'): tabular ops dims==batch ----------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-regression.R:25:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-regression.R:32:1'): tabular ops train model ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.01) at test-regression.R:33:3 8. \-generics::fit(., 1, 0.01) -- Failure ('test-regression.R:36:1'): tabular ops predict --------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-regression.R:37:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:5:1'): dataset load -------------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_ADULT_SAMPLE() at test-tabular.R:7:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$ADULT_SAMPLE, sep = "") -- Failure ('test-tabular.R:16:1'): tabular ops FillMissing -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(FillMissing()), "") at test-tabular.R:17:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(FillMissing()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::FillMissing() -- Failure ('test-tabular.R:20:1'): tabular ops Categorify --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Categorify()), "") at test-tabular.R:21:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Categorify()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Categorify() -- Failure ('test-tabular.R:24:1'): tabular ops Normalize ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Normalize()), "") at test-tabular.R:25:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Normalize()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Normalize() -- Failure ('test-tabular.R:28:1'): tabular ops dataloader --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-tabular.R:29:3 -- Failure ('test-tabular.R:37:1'): tabular ops create model ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% tabular_learner(layers = c(200, 100), metrics = accuracy()) at test-tabular.R:38:3 8. \-fastai::tabular_learner(., layers = c(200, 100), metrics = accuracy()) -- Failure ('test-tabular.R:41:1'): tabular ops dims==batch -------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-tabular.R:42:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-tabular.R:50:1'): tabular ops train model -------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.001) at test-tabular.R:51:3 8. \-generics::fit(., 1, 0.001) -- Failure ('test-tabular.R:54:1'): tabular ops predict ------------------------ `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-tabular.R:55:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:59:1'): tabular ops get optimal lr ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% lr_find() at test-tabular.R:60:3 8. \-fastai::lr_find(.) 9. +-base::print(do.call(object$lr_find, args)) 10. \-base::do.call(object$lr_find, args) -- Failure ('test-tabular.R:65:1'): tabular ops confusion matrix --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% get_confusion_matrix() %>% as.data.frame() at test-tabular.R:66:3 8. +-base::as.data.frame(.) 9. \-fastai::get_confusion_matrix(.) 10. +-vision()$all 11. \-reticulate:::`$.python.builtin.module`(vision(), "all") 12. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-tabular.R:72:1'): tabular ops confusion matrix via class-n interp -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ClassificationInterpretation_from_learner(model) at test-tabular.R:73:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-text-load.R:22:1'): text dataloader -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text-load.R:23:3 8. \-fastai::TextBlock_from_df(text_cols = "review") 9. \-base::do.call(text()$TextBlock$from_df, args) -- Failure ('test-text-load.R:33:1'): predict text with AWS -------------------- `force(expr)` threw an error. Message: object 'data_iterator' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text-load.R:34:3 -- Failure ('test-text.R:5:1'): download URLs_IMDB ----------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_IMDB() at test-text.R:6:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$IMDB, sep = "") -- Failure ('test-text.R:10:1'): download URLs_IMDB Datablock ------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text.R:13:3 8. \-fastai::TextBlock_from_folder(path, is_lm = TRUE) 9. \-base::do.call(text()$TextBlock$from_folder, args) -- Failure ('test-text.R:19:1'): download URLs_IMDB Datablock dataloaders ------ `force(expr)` threw an error. Message: object 'imdb_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-imdb_lm %>% ... at test-text.R:20:3 8. \-fastai::dataloaders(...) 9. \-base::do.call(object$dataloaders, my_list) -- Failure ('test-text.R:23:1'): download URLs_IMDB Datablock leaner ----------- `force(expr)` threw an error. Message: object 'dbunch_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text.R:24:3 [ FAIL 141 | WARN 158 | SKIP 0 | PASS 17 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR See '/tmp/th798/16152617/R-devel/448/fastai.Rcheck/00check.log' for details. [1] "2025-03-27 00:49:04 MST" [1] "2025-03-27 00:49:04 MST" Installing package into '/tmp/th798/16152617/R-devel/448/library' (as 'lib' is unspecified) * installing *source* package 'data.table' ... ** this is package 'data.table' version '1.17.99' ** using staged installation zlib 1.2.13 is available ok * checking if R installation supports OpenMP without any extra hints... yes ** libs using C compiler: 'gcc (Spack GCC) 12.2.0' /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c assign.c -o assign.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c between.c -o between.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c bmerge.c -o bmerge.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c chmatch.c -o chmatch.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c cj.c -o cj.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c coalesce.c -o coalesce.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c dogroups.c -o dogroups.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fastmean.c -o fastmean.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fcast.c -o fcast.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fifelse.c -o fifelse.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fmelt.c -o fmelt.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c forder.c -o forder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frank.c -o frank.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fread.c -o fread.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c freadR.c -o freadR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c froll.c -o froll.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frollR.c -o frollR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frolladaptive.c -o frolladaptive.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fsort.c -o fsort.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwrite.c -o fwrite.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwriteR.c -o fwriteR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c gsumm.c -o gsumm.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c idatetime.c -o idatetime.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c ijoin.c -o ijoin.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c init.c -o init.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c inrange.c -o inrange.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nafill.c -o nafill.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c negate.c -o negate.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nqrecreateindices.c -o nqrecreateindices.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c openmp-utils.c -o openmp-utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c programming.c -o programming.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c quickselect.c -o quickselect.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c rbindlist.c -o rbindlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c reorder.c -o reorder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c shift.c -o shift.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c snprintf.c -o snprintf.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c subset.c -o subset.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c transpose.c -o transpose.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c types.c -o types.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c uniqlist.c -o uniqlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c utils.c -o utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c vecseq.c -o vecseq.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-devel/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c wrappers.c -o wrappers.o /packages/gcc/12.2.0-nnbserq/bin/gcc -shared -L/home/th798/.conda/envs/emacs1/lib -Wl,-rpath=/home/th798/.conda/envs/emacs1/lib -L/home/th798/lib -Wl,-rpath=/home/th798/lib -L/home/th798/lib64 -Wl,-rpath=/home/th798/lib64 -o data.table.so assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o idatetime.o ijoin.o init.o inrange.o nafill.o negate.o nqrecreateindices.o openmp-utils.o programming.o quickselect.o rbindlist.o reorder.o shift.o snprintf.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz PKG_CFLAGS = -fopenmp -I/home/th798/.conda/envs/emacs1/include PKG_LIBS = -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz if [ "data.table.so" != "data_table.so" ]; then mv data.table.so data_table.so; fi if [ "" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id data_table.so data_table.so; fi installing to /tmp/th798/16152617/R-devel/448/library/00LOCK-data.table/00new/data.table/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (data.table) [1] "2025-03-27 00:49:27 MST" * using log directory '/tmp/th798/16152617/R-devel/448/fastai.Rcheck' * using R Under development (unstable) (2025-03-26 r88060) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (Spack GCC) 12.2.0 GNU Fortran (Spack GCC) 12.2.0 * running under: Red Hat Enterprise Linux 8.10 (Ootpa) * using session charset: ASCII * checking for file 'fastai/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fastai' version '2.2.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package 'fastai' can be installed ... OK * checking installed package size ... INFO installed size is 5.2Mb sub-directories of 1Mb or more: doc 3.0Mb help 1.3Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Complete output: > > > 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) > library(ggplot2) > library(ggpubr) > > test_check("fastai") trying URL 'https://efrosgans.eecs.berkeley.edu/cyclegan/datasets/horse2zebra.zip' Content type 'application/zip' length 116867962 bytes (111.5 MB) ================================================== downloaded 111.5 MB trying URL 'https://github.com/henry090/fastai/raw/master/files/hemorrhage.dcm' Content type 'application/octet-stream' length 524990 bytes (512 KB) ================================================== downloaded 512 KB trying URL 'https://github.com/henry090/fastai/raw/master/files/mnist.pkl.gz' Content type 'application/octet-stream' length 16168813 bytes (15.4 MB) ================================================== downloaded 15.4 MB [ FAIL 141 | WARN 158 | SKIP 0 | PASS 17 ] == Failed tests ================================================================ -- Failure ('test-collab.R:12:1'): movie lens prepare dls ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::CollabDataLoaders_from_df(...) at test-collab.R:13:3 8. \-base::do.call(collab()$CollabDataLoaders$from_df, args) -- Failure ('test-collab.R:16:1'): movie lens data model fit ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::collab_learner(dls, n_factors = 40, y_range = c(0, 5.5)) at test-collab.R:17:3 -- Failure ('test-experimental.R:17:1'): download mnist_sample ----------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-experimental.R:19:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-experimental.R:24:1'): mnist_sample dataloader --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-experimental.R:25:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:32:1'): mnist_sample load xresnet50_deep ------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-experimental.R:33:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:44:1'): tensor slice -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:5:1'): create tensor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(runif(10)) at test-generics-tensor.R:6:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:10:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_length(r_tensor, 10) at test-generics-tensor.R:11:3 8. \-testthat::quasi_label(enquo(object), arg = "object") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:15:1'): check == --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:20:1'): check != --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:25:1'): check pow -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:32:1'): check != --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:34:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:40:1'): check > ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:45:1'): check < ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:50:1'): check >= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:55:1'): check <= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:61:1'): check max -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:63:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:68:1'): check min -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:70:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:75:1'): check dim -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:83:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'res_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_equal(length(res), length(res_tensor)) at test-generics-tensor.R:84:3 8. \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:87:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:94:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:96:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:102:1'): check & --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:104:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:109:1'): check | --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:111:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:115:1'): check not ! ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:117:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:122:1'): check sort ascending -------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:124:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:128:1'): check sort descending ------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:130:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:134:1'): check abs ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:136:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:141:1'): check + add ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:143:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:148:1'): check - substr -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:150:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:154:1'): check / divide -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:156:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:161:1'): check * mul ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:163:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:168:1'): check exp ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:170:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:175:1'): check expm1 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:177:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:181:1'): check log ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:183:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:187:1'): check log1p ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:189:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:194:1'): check round ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:196:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:201:1'): check sqrt ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:203:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:210:1'): check floor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:212:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:218:1'): check ceiling --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:220:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:225:1'): check cos ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:227:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:231:1'): check cosh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:233:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:237:1'): check sin ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:239:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:243:1'): check sinh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:245:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:249:1'): check mean ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:251:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:5:1'): download mnist_sample ------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-image.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-image.R:12:1'): mnist_sample transformations ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-image.R:13:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:19:1'): mnist_sample load into memory from folder ---- `force(expr)` threw an error. Message: object 'path' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ImageDataLoaders_from_folder(...) at test-image.R:20:3 -- Failure ('test-image.R:28:1'): mnist_sample cnn_learner --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, resnet18(), metrics = accuracy) at test-image.R:29:3 8. \-fastai::resnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-medical.R:7:1'): download URLs_SIIM_SMALL -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-medical.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-medical.R:14:1'): read dcm URLs_SIIM_SMALL ------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-medical.R:15:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-medical.R:27:1'): gather dcm URLs_SIIM_SMALL ----------------- `force(expr)` threw an error. Message: object 'items' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical.R:46:1'): datalaoder and block for URLs_SIIM_SMALL --- `force(expr)` threw an error. Message: File 'siim_small/labels.csv' does not exist or is non-readable. getwd()=='/tmp/th798/16152617/R-devel/448/fastai.Rcheck/tests/testthat' Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-data.table::fread("siim_small/labels.csv") at test-medical.R:47:3 8. \-data.table:::stopf(...) 9. \-data.table:::raise_condition(...) -- Failure ('test-medical_image_render.R:12:1'): read/subplot dcm file GITHUB -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::dcmread("hemorrhage.dcm") at test-medical_image_render.R:13:3 -- Failure ('test-medical_image_render.R:16:1'): render dcm file GITHUB -------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical_image_render.R:34:1'): cmap for dcm file GITHUB ------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-img %>% show(cmap = cm()$gist_ncar, figsize = c(6, 6)) at test-medical_image_render.R:35:3 8. \-fastai::show(., cmap = cm()$gist_ncar, figsize = c(6, 6)) -- Failure ('test-model_load.R:6:1'): can load xresnet50_deep ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:10:1'): can load xresnet50 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50() at test-model_load.R:11:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:14:1'): can load xresnet34_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:15:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:18:1'): can load xresnet34 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34() at test-model_load.R:19:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:22:1'): can load xresnet18_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:23:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:26:1'): can load xresnet18 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet18() at test-model_load.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:31:1'): can load xresnet152 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet152() at test-model_load.R:32:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:35:1'): can load xresnet101 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet101() at test-model_load.R:36:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:39:1'): can load xresnet50_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:40:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:44:1'): can load alexnet ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::alexnet(progress = TRUE) at test-model_load.R:45:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:48:1'): can load vgg19_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg19_bn(progress = TRUE) at test-model_load.R:49:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:52:1'): can load vgg16_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg16_bn(progress = TRUE) at test-model_load.R:53:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:56:1'): can load vgg13_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg13_bn(progress = TRUE) at test-model_load.R:57:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:60:1'): can load vgg11_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg11_bn(progress = TRUE) at test-model_load.R:61:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:64:1'): can load squeezenet1_1 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_1(progress = TRUE) at test-model_load.R:65:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:68:1'): can load squeezenet1_0 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_0(progress = TRUE) at test-model_load.R:69:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:72:1'): can load SqueezeNet --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::SqueezeNet() at test-model_load.R:73:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:76:1'): can load resnet50 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet50(progress = TRUE) at test-model_load.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:80:1'): can load resnet34 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet34(progress = TRUE) at test-model_load.R:81:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:84:1'): can load resnet18 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet18(progress = TRUE) at test-model_load.R:85:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:88:1'): can load resnet152 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet152(progress = TRUE) at test-model_load.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:92:1'): can load resnet101 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet101(progress = TRUE) at test-model_load.R:93:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:96:1'): can load densenet121 -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet121(progress = TRUE) at test-model_load.R:97:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:100:1'): can load densenet161 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet161(progress = TRUE) at test-model_load.R:101:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:104:1'): can load densenet169 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet169(progress = TRUE) at test-model_load.R:105:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:108:1'): can load densenet201 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet201(progress = TRUE) at test-model_load.R:109:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:6:1'): modify scalar tensor ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:15:1'): modify 2 values tensor ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:16:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-nn_module.R:8:1'): download MNIST pickler -------------------- `force(expr)` threw an error. Message: NA in coercion to boolean Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-R.utils::gunzip("mnist.pkl.gz", remove = FALSE) at test-nn_module.R:10:3 8. \-R.utils::gunzip.default("mnist.pkl.gz", remove = FALSE) 9. +-R.utils::decompressFile(...) 10. \-R.utils::decompressFile.default(...) 11. +-R.utils::popTemporaryFile(destnameT) 12. \-R.utils::popTemporaryFile.default(destnameT) 13. \-base::regexpr(pattern, "", pathnameT) -- Failure ('test-nn_module.R:13:1'): fit nn_module MNIST ---------------------- `force(expr)` threw an error. Message: FileNotFoundError: [Errno 2] No such file or directory: 'mnist.pkl' Run `reticulate::py_last_error()` for details. Class: python.builtin.FileNotFoundError/python.builtin.OSError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-reticulate::py_load_object("mnist.pkl", encoding = "latin-1") at test-nn_module.R:14:3 8. \-builtins$open(filename, "rb") 9. \-reticulate:::py_call_impl(callable, call_args$unnamed, call_args$named) -- Failure ('test-predict_medical.R:5:1'): download URLs_SIIM_SMALL ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-predict_medical.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-predict_medical.R:11:1'): prepare dataloader and model ------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-predict_medical.R:12:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-pretrained_in_cnn_learner.R:7:1'): download mnist_sample ----- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-pretrained_in_cnn_learner.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:14:1'): mnist_sample dataloader -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-pretrained_in_cnn_learner.R:15:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:22:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:23:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:27:1'): mnist_sample load xresnet50 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:28:3 8. \-fastai::xresnet50() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:33:1'): mnist_sample load xresnet34_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:34:3 8. \-fastai::xresnet34_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:38:1'): mnist_sample load xresnet34 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:39:3 8. \-fastai::xresnet34() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:43:1'): mnist_sample load xresnet18_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:44:3 8. \-fastai::xresnet18_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:49:1'): mnist_sample load xresnet18 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:50:3 8. \-fastai::xresnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:55:1'): mnist_sample load xresnet152 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:56:3 8. \-fastai::xresnet152() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:60:1'): mnist_sample load xresnet101 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:61:3 8. \-fastai::xresnet101() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:66:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:67:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:71:1'): download PETS ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_PETS() at test-pretrained_in_cnn_learner.R:73:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$PETS, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:89:1'): pet show batch ----------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::show_batch(dls) at test-pretrained_in_cnn_learner.R:90:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:93:1'): pet load alexnet --------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, alexnet(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:94:3 -- Failure ('test-pretrained_in_cnn_learner.R:105:1'): pet load vgg19_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg19_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:106:3 -- Failure ('test-pretrained_in_cnn_learner.R:110:1'): pet load vgg16_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg16_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:111:3 -- Failure ('test-pretrained_in_cnn_learner.R:115:1'): pet load vgg13_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg13_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:116:3 -- Failure ('test-pretrained_in_cnn_learner.R:121:1'): pet load vgg11_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg11_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:122:3 -- Failure ('test-pretrained_in_cnn_learner.R:126:1'): pet load squeezenet1_1 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_1(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:127:3 -- Failure ('test-pretrained_in_cnn_learner.R:132:1'): pet load squeezenet1_0 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_0(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:133:3 -- Failure ('test-pretrained_in_cnn_learner.R:137:1'): pet load resnet50 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:138:3 -- Failure ('test-pretrained_in_cnn_learner.R:142:1'): pet load resnet34 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:143:3 -- Failure ('test-pretrained_in_cnn_learner.R:147:1'): pet load resnet18 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:148:3 -- Failure ('test-pretrained_in_cnn_learner.R:152:1'): pet load resnet152 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:153:3 -- Failure ('test-pretrained_in_cnn_learner.R:157:1'): pet load resnet101 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:158:3 -- Failure ('test-pretrained_in_cnn_learner.R:163:1'): pet load densenet121 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet121(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:164:3 -- Failure ('test-pretrained_in_cnn_learner.R:168:1'): pet load densenet161 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet161(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:169:3 -- Failure ('test-pretrained_in_cnn_learner.R:173:1'): pet load densenet169 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet169(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:174:3 -- Failure ('test-pretrained_in_cnn_learner.R:178:1'): pet load densenet201 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet201(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:179:3 -- Failure ('test-pretrained_in_cnn_learner.R:183:1'): pet load timm mixnet_xl -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::timm_learner(...) at test-pretrained_in_cnn_learner.R:184:3 -- Failure ('test-regression.R:12:1'): dls create ------------------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-regression.R:13:3 -- Failure ('test-regression.R:20:1'): tabular ops create model ---------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% ... at test-regression.R:21:3 8. \-fastai::tabular_learner(...) -- Failure ('test-regression.R:24:1'): tabular ops dims==batch ----------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-regression.R:25:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-regression.R:32:1'): tabular ops train model ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.01) at test-regression.R:33:3 8. \-generics::fit(., 1, 0.01) -- Failure ('test-regression.R:36:1'): tabular ops predict --------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-regression.R:37:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:5:1'): dataset load -------------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_ADULT_SAMPLE() at test-tabular.R:7:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$ADULT_SAMPLE, sep = "") -- Failure ('test-tabular.R:16:1'): tabular ops FillMissing -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(FillMissing()), "") at test-tabular.R:17:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(FillMissing()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::FillMissing() -- Failure ('test-tabular.R:20:1'): tabular ops Categorify --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Categorify()), "") at test-tabular.R:21:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Categorify()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Categorify() -- Failure ('test-tabular.R:24:1'): tabular ops Normalize ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Normalize()), "") at test-tabular.R:25:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Normalize()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Normalize() -- Failure ('test-tabular.R:28:1'): tabular ops dataloader --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-tabular.R:29:3 -- Failure ('test-tabular.R:37:1'): tabular ops create model ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% tabular_learner(layers = c(200, 100), metrics = accuracy()) at test-tabular.R:38:3 8. \-fastai::tabular_learner(., layers = c(200, 100), metrics = accuracy()) -- Failure ('test-tabular.R:41:1'): tabular ops dims==batch -------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-tabular.R:42:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-tabular.R:50:1'): tabular ops train model -------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.001) at test-tabular.R:51:3 8. \-generics::fit(., 1, 0.001) -- Failure ('test-tabular.R:54:1'): tabular ops predict ------------------------ `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-tabular.R:55:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:59:1'): tabular ops get optimal lr ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% lr_find() at test-tabular.R:60:3 8. \-fastai::lr_find(.) 9. +-base::print(do.call(object$lr_find, args)) 10. \-base::do.call(object$lr_find, args) -- Failure ('test-tabular.R:65:1'): tabular ops confusion matrix --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% get_confusion_matrix() %>% as.data.frame() at test-tabular.R:66:3 8. +-base::as.data.frame(.) 9. \-fastai::get_confusion_matrix(.) 10. +-vision()$all 11. \-reticulate:::`$.python.builtin.module`(vision(), "all") 12. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-tabular.R:72:1'): tabular ops confusion matrix via class-n interp -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ClassificationInterpretation_from_learner(model) at test-tabular.R:73:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-text-load.R:22:1'): text dataloader -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text-load.R:23:3 8. \-fastai::TextBlock_from_df(text_cols = "review") 9. \-base::do.call(text()$TextBlock$from_df, args) -- Failure ('test-text-load.R:33:1'): predict text with AWS -------------------- `force(expr)` threw an error. Message: object 'data_iterator' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text-load.R:34:3 -- Failure ('test-text.R:5:1'): download URLs_IMDB ----------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_IMDB() at test-text.R:6:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$IMDB, sep = "") -- Failure ('test-text.R:10:1'): download URLs_IMDB Datablock ------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text.R:13:3 8. \-fastai::TextBlock_from_folder(path, is_lm = TRUE) 9. \-base::do.call(text()$TextBlock$from_folder, args) -- Failure ('test-text.R:19:1'): download URLs_IMDB Datablock dataloaders ------ `force(expr)` threw an error. Message: object 'imdb_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-imdb_lm %>% ... at test-text.R:20:3 8. \-fastai::dataloaders(...) 9. \-base::do.call(object$dataloaders, my_list) -- Failure ('test-text.R:23:1'): download URLs_IMDB Datablock leaner ----------- `force(expr)` threw an error. Message: object 'dbunch_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text.R:24:3 [ FAIL 141 | WARN 158 | SKIP 0 | PASS 17 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR See '/tmp/th798/16152617/R-devel/448/fastai.Rcheck/00check.log' for details. [1] "2025-03-27 00:54:22 MST" > system(paste(c("diff -u", Rcheck.list), collapse=" ")) > library(data.table, lib.loc=R.home("library")) > (sig.diff.dt <- myDiff(Rvers)) Key: Empty data.table (0 rows and 3 cols): checking,master,release > > ## If there are significant differences, use git bisect to find when > ## they started. > if(nrow(sig.diff.dt)){ + dt.git <- file.path(task.dir, "data.table.git") + system(paste("cd ~/R/data.table && git fetch --tags")) + system(paste("git clone ~/R/data.table", dt.git)) + release.tag <- gsub(".tar.gz|.*_", "", cargs[["release"]]) + rev.parse.cmd <- paste( + "cd", dt.git, "&& git rev-parse master") + master.sha <- system(rev.parse.cmd, intern=TRUE) + merge.base.cmd <- paste( + "cd", dt.git, "&& git merge-base master", release.tag) + merge.base.sha <- system(merge.base.cmd, intern=TRUE) + old.sha <- merge.base.sha + run_R <- file.path(proj.dir, "install_dt_then_check_dep.R") + sig.diff.dt[, first.bad.commit := NA_character_] + sig.diff.dt[, comments := NA_character_] + for(diff.i in 1:nrow(sig.diff.dt)){ + sig.diff.row <- sig.diff.dt[diff.i] + bisect.cmd <- paste( + "cd", dt.git, "&&", + "git bisect start &&", + "git bisect old", old.sha, "&&", + "git bisect new master &&", + "git bisect run", + R.home('bin/Rscript'), + run_R, + shQuote(sig.diff.row$checking), + sig.diff.row$release, + rev.dep.release.tar.gz, + release.tag) + print(bisect.cmd) + bisect.out <- system(bisect.cmd, intern=TRUE) + cat(bisect.out,sep="\n") + if(is.null(attr(bisect.out,"status"))){ + first.bad.sha <- nc::capture_all_str( + bisect.out, + sha="[0-9a-f]+", + " is the first new commit")$sha + parent.cmd <- paste( + "cd ~/R/data.table && git log --pretty=%P -n 1", + first.bad.sha) + parent.sha <- system(parent.cmd, intern=TRUE) + sig.diff.dt[diff.i, first.bad.commit := first.bad.sha] + parent.msg <- paste0("parent=", parent.sha) + this.comment <- if(parent.sha==old.sha){ + paste(parent.msg, "same as git bisect old") + }else if(first.bad.sha==master.sha){ + paste("same as git bisect new=master,", parent.msg) + }else{ + parent.msg + } + sig.diff.dt[diff.i, comments := this.comment] + } + } + ## add CRAN column. + sig.diff.dt[, CRAN := { + flavor <- get_flavor(Rvers) + details <- data.table(flavor=unique(flavor))[, { + base <- "https://www.r-project.org/nosvn/R.check/" + u <- paste0(base, flavor, "/", rev.dep, "-00check.txt") + check.txt <- tempfile() + tryCatch({ + download.file(u, check.txt, quiet=TRUE) + }, error=function(e){ + NULL + }) + check.lines <- if(file.exists(check.txt)){ + readLines(check.txt,encoding="UTF-8") + }else{ + "" + } + repl.lines <- gsub("[\u2018\u2019]", "'", check.lines) + ##gsub("[‘’]", "'", check.lines) does not work with LC_ALL=C. + myStatus(line.vec=repl.lines) + }, by=flavor] + select.dt <- data.table(flavor, checking) + details[select.dt, msg, on=.(flavor, checking)] + }] + dir.create(file.path(job.dir, Rvers)) + diffs.csv <- file.path(job.dir, Rvers, "significant_differences.csv") + data.table::fwrite(sig.diff.dt, diffs.csv) + print(sig.diff.dt) + } > WARNING: ignoring environment value of R_HOME R version 4.4.3 (2025-02-28) -- "Trophy Case" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > cargs <- commandArgs(trailingOnly=TRUE) > if(length(cargs)==0){ + ## before running interactively, make sure to start emacs/R with + ## environment defined in /scratch/...check_one.sh, particularly + ## R_LIBS_USER=/tmp/... otherwise we get error when installing + ## data.table. + base <- "/scratch/th798/data.table-revdeps/*" + cargs <- c( + Sys.glob(file.path(base,"deps.csv")), + "349", + Sys.glob(file.path(base, "data.table_release_*tar.gz")), + Sys.glob(file.path(base, "data.table_master_*tar.gz")) + ) + } > names(cargs) <- c("deps.csv", "task.str", "release", "master") > dput(cargs) c(deps.csv = "/scratch/th798/data.table-revdeps/2025-03-27/deps.csv", task.str = "448", release = "/scratch/th798/data.table-revdeps/2025-03-27/data.table_release_1.17.0.tar.gz", master = "/scratch/th798/data.table-revdeps/2025-03-27/data.table_master_1.17.99.2cb03162a21328cc5f68a8c3b0e554f5edfcb5b9.tar.gz" ) > (task.dir <- dirname(.libPaths()[1]))#should be /tmp/th798/slurmid/R-vers [1] "/tmp/th798/16152617/R-release/448" > if(requireNamespace("R.cache"))R.cache::getCachePath() Loading required namespace: R.cache [1] "/tmp/th798/16152617/R-release/448/R.cache" > task.id <- as.integer(cargs[["task.str"]]) > deps.df <- read.csv(cargs[["deps.csv"]]) > (rev.dep <- deps.df$Package[task.id]) [1] "fastai" > job.dir <- file.path(dirname(cargs[["deps.csv"]]), "tasks", task.id) > setwd(task.dir) > .libPaths() [1] "/tmp/th798/16152617/R-release/448/library" [2] "/projects/genomic-ml/R/R-release/library" > options(repos=c(#this should be in ~/.Rprofile too. + CRAN="http://cloud.r-project.org")) > print(Sys.time()) [1] "2025-03-27 00:54:29 MST" > install.time <- system.time({ + install.packages(rev.dep, dep=TRUE) + }) Installing package into '/tmp/th798/16152617/R-release/448/library' (as 'lib' is unspecified) trying URL 'http://cloud.r-project.org/src/contrib/fastai_2.2.2.tar.gz' Content type 'application/x-gzip' length 4539227 bytes (4.3 MB) ================================================== downloaded 4.3 MB * installing *source* package 'fastai' ... ** package 'fastai' successfully unpacked and MD5 sums checked ** using staged installation ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (fastai) The downloaded source packages are in '/tmp/th798/16152617/Rtmp2bfcqf/downloaded_packages' > cat("Time to install revdep:\n") Time to install revdep: > print(install.time) user system elapsed 22.303 1.887 36.028 > print(Sys.time()) [1] "2025-03-27 00:55:05 MST" > downloaded_packages <- file.path( + tempdir(), + "downloaded_packages") > dl.glob <- file.path( + downloaded_packages, + paste0(rev.dep,"_*.tar.gz")) > rev.dep.dl.row <- cbind(rev.dep, Sys.glob(dl.glob)) > colnames(rev.dep.dl.row) <- c("pkg","path") > rev.dep.release.tar.gz <- normalizePath(rev.dep.dl.row[,"path"], mustWork=TRUE) > pkg.Rcheck <- paste0(rev.dep, ".Rcheck") > > proj.dir <- "~/genomic-ml/data.table-revdeps" > source(file.path(proj.dir, "myStatus.R")) > Rvers <- gsub("[()]", "", gsub(" ", "_", R.version[["version.string"]])) > dir.create(Rvers, showWarnings=FALSE) > Rcheck.list <- list() > for(dt.version.short in c("release", "master")){ + dt.tar.gz <- cargs[[dt.version.short]] + dt.version <- gsub(".tar.gz|/.*?_", "", dt.tar.gz) + print(Sys.time()) + install.packages(dt.tar.gz, repos=NULL) + print(Sys.time()) + check.cmd <- get_check_cmd(rev.dep.release.tar.gz) + system(check.cmd) + print(Sys.time()) + dest.Rcheck <- file.path( + Rvers, + paste0(dt.version, ".Rcheck")) + unlink(dest.Rcheck, recursive=TRUE) + file.rename(pkg.Rcheck, dest.Rcheck) + Rcheck.list[[dt.version]] <- file.path(dest.Rcheck, "00check.log") + } [1] "2025-03-27 00:55:05 MST" Installing package into '/tmp/th798/16152617/R-release/448/library' (as 'lib' is unspecified) * installing *source* package 'data.table' ... ** package 'data.table' successfully unpacked and MD5 sums checked ** using staged installation zlib 1.2.13 is available ok * checking if R installation supports OpenMP without any extra hints... yes ** libs using C compiler: 'gcc (Spack GCC) 12.2.0' /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c assign.c -o assign.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c between.c -o between.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c bmerge.c -o bmerge.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c chmatch.c -o chmatch.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c cj.c -o cj.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c coalesce.c -o coalesce.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c dogroups.c -o dogroups.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fastmean.c -o fastmean.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fcast.c -o fcast.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fifelse.c -o fifelse.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fmelt.c -o fmelt.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c forder.c -o forder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frank.c -o frank.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fread.c -o fread.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c freadR.c -o freadR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c froll.c -o froll.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frollR.c -o frollR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frolladaptive.c -o frolladaptive.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fsort.c -o fsort.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwrite.c -o fwrite.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwriteR.c -o fwriteR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c gsumm.c -o gsumm.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c idatetime.c -o idatetime.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c ijoin.c -o ijoin.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c init.c -o init.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c inrange.c -o inrange.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nafill.c -o nafill.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c negate.c -o negate.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nqrecreateindices.c -o nqrecreateindices.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c openmp-utils.c -o openmp-utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c programming.c -o programming.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c quickselect.c -o quickselect.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c rbindlist.c -o rbindlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c reorder.c -o reorder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c shift.c -o shift.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c snprintf.c -o snprintf.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c subset.c -o subset.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c transpose.c -o transpose.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c types.c -o types.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c uniqlist.c -o uniqlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c utils.c -o utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c vecseq.c -o vecseq.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c wrappers.c -o wrappers.o /packages/gcc/12.2.0-nnbserq/bin/gcc -shared -L/home/th798/.conda/envs/emacs1/lib -Wl,-rpath=/home/th798/.conda/envs/emacs1/lib -L/home/th798/lib -Wl,-rpath=/home/th798/lib -L/home/th798/lib64 -Wl,-rpath=/home/th798/lib64 -o data.table.so assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o idatetime.o ijoin.o init.o inrange.o nafill.o negate.o nqrecreateindices.o openmp-utils.o programming.o quickselect.o rbindlist.o reorder.o shift.o snprintf.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz PKG_CFLAGS = -fopenmp -I/home/th798/.conda/envs/emacs1/include PKG_LIBS = -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz if [ "data.table.so" != "data_table.so" ]; then mv data.table.so data_table.so; fi if [ "" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id data_table.so data_table.so; fi installing to /tmp/th798/16152617/R-release/448/library/00LOCK-data.table/00new/data.table/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (data.table) [1] "2025-03-27 00:55:26 MST" * using log directory '/tmp/th798/16152617/R-release/448/fastai.Rcheck' * using R version 4.4.3 (2025-02-28) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (Spack GCC) 12.2.0 GNU Fortran (Spack GCC) 12.2.0 * running under: Red Hat Enterprise Linux 8.10 (Ootpa) * using session charset: ASCII * checking for file 'fastai/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fastai' version '2.2.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package 'fastai' can be installed ... OK * checking installed package size ... NOTE installed size is 5.2Mb sub-directories of 1Mb or more: doc 3.0Mb help 1.3Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Complete output: > > > 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) > library(ggplot2) > library(ggpubr) > > test_check("fastai") trying URL 'https://efrosgans.eecs.berkeley.edu/cyclegan/datasets/horse2zebra.zip' Content type 'application/zip' length 116867962 bytes (111.5 MB) ================================================== downloaded 111.5 MB trying URL 'https://github.com/henry090/fastai/raw/master/files/hemorrhage.dcm' Content type 'application/octet-stream' length 524990 bytes (512 KB) ================================================== downloaded 512 KB trying URL 'https://github.com/henry090/fastai/raw/master/files/mnist.pkl.gz' Content type 'application/octet-stream' length 16168813 bytes (15.4 MB) ================================================== downloaded 15.4 MB [ FAIL 140 | WARN 158 | SKIP 0 | PASS 18 ] == Failed tests ================================================================ -- Failure ('test-collab.R:12:1'): movie lens prepare dls ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::CollabDataLoaders_from_df(...) at test-collab.R:13:3 8. \-base::do.call(collab()$CollabDataLoaders$from_df, args) -- Failure ('test-collab.R:16:1'): movie lens data model fit ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::collab_learner(dls, n_factors = 40, y_range = c(0, 5.5)) at test-collab.R:17:3 -- Failure ('test-experimental.R:17:1'): download mnist_sample ----------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-experimental.R:19:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-experimental.R:24:1'): mnist_sample dataloader --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-experimental.R:25:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:32:1'): mnist_sample load xresnet50_deep ------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-experimental.R:33:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:44:1'): tensor slice -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:5:1'): create tensor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(runif(10)) at test-generics-tensor.R:6:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:10:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_length(r_tensor, 10) at test-generics-tensor.R:11:3 8. \-testthat::quasi_label(enquo(object), arg = "object") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:15:1'): check == --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:20:1'): check != --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:25:1'): check pow -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:32:1'): check != --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:34:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:40:1'): check > ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:45:1'): check < ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:50:1'): check >= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:55:1'): check <= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:61:1'): check max -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:63:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:68:1'): check min -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:70:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:75:1'): check dim -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:83:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'res_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_equal(length(res), length(res_tensor)) at test-generics-tensor.R:84:3 8. \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:87:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:94:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:96:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:102:1'): check & --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:104:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:109:1'): check | --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:111:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:115:1'): check not ! ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:117:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:122:1'): check sort ascending -------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:124:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:128:1'): check sort descending ------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:130:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:134:1'): check abs ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:136:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:141:1'): check + add ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:143:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:148:1'): check - substr -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:150:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:154:1'): check / divide -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:156:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:161:1'): check * mul ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:163:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:168:1'): check exp ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:170:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:175:1'): check expm1 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:177:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:181:1'): check log ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:183:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:187:1'): check log1p ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:189:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:194:1'): check round ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:196:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:201:1'): check sqrt ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:203:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:210:1'): check floor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:212:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:218:1'): check ceiling --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:220:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:225:1'): check cos ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:227:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:231:1'): check cosh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:233:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:237:1'): check sin ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:239:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:243:1'): check sinh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:245:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:249:1'): check mean ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:251:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:5:1'): download mnist_sample ------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-image.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-image.R:12:1'): mnist_sample transformations ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-image.R:13:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:19:1'): mnist_sample load into memory from folder ---- `force(expr)` threw an error. Message: object 'path' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ImageDataLoaders_from_folder(...) at test-image.R:20:3 -- Failure ('test-image.R:28:1'): mnist_sample cnn_learner --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, resnet18(), metrics = accuracy) at test-image.R:29:3 8. \-fastai::resnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-medical.R:7:1'): download URLs_SIIM_SMALL -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-medical.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-medical.R:14:1'): read dcm URLs_SIIM_SMALL ------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-medical.R:15:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-medical.R:27:1'): gather dcm URLs_SIIM_SMALL ----------------- `force(expr)` threw an error. Message: object 'items' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical.R:46:1'): datalaoder and block for URLs_SIIM_SMALL --- `force(expr)` threw an error. Message: File 'siim_small/labels.csv' does not exist or is non-readable. getwd()=='/tmp/th798/16152617/R-release/448/fastai.Rcheck/tests/testthat' Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-data.table::fread("siim_small/labels.csv") at test-medical.R:47:3 8. \-data.table:::stopf(...) 9. \-data.table:::raise_condition(...) -- Failure ('test-medical_image_render.R:12:1'): read/subplot dcm file GITHUB -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::dcmread("hemorrhage.dcm") at test-medical_image_render.R:13:3 -- Failure ('test-medical_image_render.R:16:1'): render dcm file GITHUB -------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical_image_render.R:34:1'): cmap for dcm file GITHUB ------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-img %>% show(cmap = cm()$gist_ncar, figsize = c(6, 6)) at test-medical_image_render.R:35:3 8. \-fastai::show(., cmap = cm()$gist_ncar, figsize = c(6, 6)) -- Failure ('test-model_load.R:6:1'): can load xresnet50_deep ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:10:1'): can load xresnet50 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50() at test-model_load.R:11:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:14:1'): can load xresnet34_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:15:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:18:1'): can load xresnet34 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34() at test-model_load.R:19:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:22:1'): can load xresnet18_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:23:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:26:1'): can load xresnet18 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet18() at test-model_load.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:31:1'): can load xresnet152 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet152() at test-model_load.R:32:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:35:1'): can load xresnet101 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet101() at test-model_load.R:36:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:39:1'): can load xresnet50_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:40:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:44:1'): can load alexnet ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::alexnet(progress = TRUE) at test-model_load.R:45:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:48:1'): can load vgg19_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg19_bn(progress = TRUE) at test-model_load.R:49:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:52:1'): can load vgg16_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg16_bn(progress = TRUE) at test-model_load.R:53:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:56:1'): can load vgg13_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg13_bn(progress = TRUE) at test-model_load.R:57:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:60:1'): can load vgg11_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg11_bn(progress = TRUE) at test-model_load.R:61:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:64:1'): can load squeezenet1_1 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_1(progress = TRUE) at test-model_load.R:65:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:68:1'): can load squeezenet1_0 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_0(progress = TRUE) at test-model_load.R:69:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:72:1'): can load SqueezeNet --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::SqueezeNet() at test-model_load.R:73:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:76:1'): can load resnet50 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet50(progress = TRUE) at test-model_load.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:80:1'): can load resnet34 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet34(progress = TRUE) at test-model_load.R:81:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:84:1'): can load resnet18 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet18(progress = TRUE) at test-model_load.R:85:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:88:1'): can load resnet152 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet152(progress = TRUE) at test-model_load.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:92:1'): can load resnet101 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet101(progress = TRUE) at test-model_load.R:93:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:96:1'): can load densenet121 -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet121(progress = TRUE) at test-model_load.R:97:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:100:1'): can load densenet161 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet161(progress = TRUE) at test-model_load.R:101:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:104:1'): can load densenet169 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet169(progress = TRUE) at test-model_load.R:105:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:108:1'): can load densenet201 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet201(progress = TRUE) at test-model_load.R:109:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:6:1'): modify scalar tensor ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:15:1'): modify 2 values tensor ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:16:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-nn_module.R:13:1'): fit nn_module MNIST ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-example %>% show_image(cmap = "gray") %>% plot() at test-nn_module.R:24:3 8. +-fastai::plot(.) 9. \-fastai::show_image(., cmap = "gray") 10. +-base::do.call(vision()$all$show_image, args) 11. +-vision()$all 12. \-reticulate:::`$.python.builtin.module`(vision(), "all") 13. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-predict_medical.R:5:1'): download URLs_SIIM_SMALL ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-predict_medical.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-predict_medical.R:11:1'): prepare dataloader and model ------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-predict_medical.R:12:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-pretrained_in_cnn_learner.R:7:1'): download mnist_sample ----- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-pretrained_in_cnn_learner.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:14:1'): mnist_sample dataloader -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-pretrained_in_cnn_learner.R:15:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:22:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:23:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:27:1'): mnist_sample load xresnet50 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:28:3 8. \-fastai::xresnet50() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:33:1'): mnist_sample load xresnet34_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:34:3 8. \-fastai::xresnet34_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:38:1'): mnist_sample load xresnet34 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:39:3 8. \-fastai::xresnet34() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:43:1'): mnist_sample load xresnet18_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:44:3 8. \-fastai::xresnet18_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:49:1'): mnist_sample load xresnet18 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:50:3 8. \-fastai::xresnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:55:1'): mnist_sample load xresnet152 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:56:3 8. \-fastai::xresnet152() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:60:1'): mnist_sample load xresnet101 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:61:3 8. \-fastai::xresnet101() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:66:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:67:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:71:1'): download PETS ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_PETS() at test-pretrained_in_cnn_learner.R:73:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$PETS, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:89:1'): pet show batch ----------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::show_batch(dls) at test-pretrained_in_cnn_learner.R:90:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:93:1'): pet load alexnet --------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, alexnet(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:94:3 -- Failure ('test-pretrained_in_cnn_learner.R:105:1'): pet load vgg19_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg19_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:106:3 -- Failure ('test-pretrained_in_cnn_learner.R:110:1'): pet load vgg16_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg16_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:111:3 -- Failure ('test-pretrained_in_cnn_learner.R:115:1'): pet load vgg13_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg13_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:116:3 -- Failure ('test-pretrained_in_cnn_learner.R:121:1'): pet load vgg11_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg11_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:122:3 -- Failure ('test-pretrained_in_cnn_learner.R:126:1'): pet load squeezenet1_1 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_1(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:127:3 -- Failure ('test-pretrained_in_cnn_learner.R:132:1'): pet load squeezenet1_0 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_0(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:133:3 -- Failure ('test-pretrained_in_cnn_learner.R:137:1'): pet load resnet50 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:138:3 -- Failure ('test-pretrained_in_cnn_learner.R:142:1'): pet load resnet34 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:143:3 -- Failure ('test-pretrained_in_cnn_learner.R:147:1'): pet load resnet18 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:148:3 -- Failure ('test-pretrained_in_cnn_learner.R:152:1'): pet load resnet152 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:153:3 -- Failure ('test-pretrained_in_cnn_learner.R:157:1'): pet load resnet101 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:158:3 -- Failure ('test-pretrained_in_cnn_learner.R:163:1'): pet load densenet121 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet121(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:164:3 -- Failure ('test-pretrained_in_cnn_learner.R:168:1'): pet load densenet161 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet161(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:169:3 -- Failure ('test-pretrained_in_cnn_learner.R:173:1'): pet load densenet169 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet169(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:174:3 -- Failure ('test-pretrained_in_cnn_learner.R:178:1'): pet load densenet201 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet201(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:179:3 -- Failure ('test-pretrained_in_cnn_learner.R:183:1'): pet load timm mixnet_xl -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::timm_learner(...) at test-pretrained_in_cnn_learner.R:184:3 -- Failure ('test-regression.R:12:1'): dls create ------------------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-regression.R:13:3 -- Failure ('test-regression.R:20:1'): tabular ops create model ---------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% ... at test-regression.R:21:3 8. \-fastai::tabular_learner(...) -- Failure ('test-regression.R:24:1'): tabular ops dims==batch ----------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-regression.R:25:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-regression.R:32:1'): tabular ops train model ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.01) at test-regression.R:33:3 8. \-generics::fit(., 1, 0.01) -- Failure ('test-regression.R:36:1'): tabular ops predict --------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-regression.R:37:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:5:1'): dataset load -------------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_ADULT_SAMPLE() at test-tabular.R:7:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$ADULT_SAMPLE, sep = "") -- Failure ('test-tabular.R:16:1'): tabular ops FillMissing -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(FillMissing()), "") at test-tabular.R:17:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(FillMissing()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::FillMissing() -- Failure ('test-tabular.R:20:1'): tabular ops Categorify --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Categorify()), "") at test-tabular.R:21:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Categorify()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Categorify() -- Failure ('test-tabular.R:24:1'): tabular ops Normalize ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Normalize()), "") at test-tabular.R:25:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Normalize()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Normalize() -- Failure ('test-tabular.R:28:1'): tabular ops dataloader --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-tabular.R:29:3 -- Failure ('test-tabular.R:37:1'): tabular ops create model ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% tabular_learner(layers = c(200, 100), metrics = accuracy()) at test-tabular.R:38:3 8. \-fastai::tabular_learner(., layers = c(200, 100), metrics = accuracy()) -- Failure ('test-tabular.R:41:1'): tabular ops dims==batch -------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-tabular.R:42:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-tabular.R:50:1'): tabular ops train model -------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.001) at test-tabular.R:51:3 8. \-generics::fit(., 1, 0.001) -- Failure ('test-tabular.R:54:1'): tabular ops predict ------------------------ `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-tabular.R:55:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:59:1'): tabular ops get optimal lr ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% lr_find() at test-tabular.R:60:3 8. \-fastai::lr_find(.) 9. +-base::print(do.call(object$lr_find, args)) 10. \-base::do.call(object$lr_find, args) -- Failure ('test-tabular.R:65:1'): tabular ops confusion matrix --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% get_confusion_matrix() %>% as.data.frame() at test-tabular.R:66:3 8. +-base::as.data.frame(.) 9. \-fastai::get_confusion_matrix(.) 10. +-vision()$all 11. \-reticulate:::`$.python.builtin.module`(vision(), "all") 12. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-tabular.R:72:1'): tabular ops confusion matrix via class-n interp -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ClassificationInterpretation_from_learner(model) at test-tabular.R:73:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-text-load.R:22:1'): text dataloader -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text-load.R:23:3 8. \-fastai::TextBlock_from_df(text_cols = "review") 9. \-base::do.call(text()$TextBlock$from_df, args) -- Failure ('test-text-load.R:33:1'): predict text with AWS -------------------- `force(expr)` threw an error. Message: object 'data_iterator' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text-load.R:34:3 -- Failure ('test-text.R:5:1'): download URLs_IMDB ----------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_IMDB() at test-text.R:6:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$IMDB, sep = "") -- Failure ('test-text.R:10:1'): download URLs_IMDB Datablock ------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text.R:13:3 8. \-fastai::TextBlock_from_folder(path, is_lm = TRUE) 9. \-base::do.call(text()$TextBlock$from_folder, args) -- Failure ('test-text.R:19:1'): download URLs_IMDB Datablock dataloaders ------ `force(expr)` threw an error. Message: object 'imdb_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-imdb_lm %>% ... at test-text.R:20:3 8. \-fastai::dataloaders(...) 9. \-base::do.call(object$dataloaders, my_list) -- Failure ('test-text.R:23:1'): download URLs_IMDB Datablock leaner ----------- `force(expr)` threw an error. Message: object 'dbunch_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text.R:24:3 [ FAIL 140 | WARN 158 | SKIP 0 | PASS 18 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE See '/tmp/th798/16152617/R-release/448/fastai.Rcheck/00check.log' for details. [1] "2025-03-27 01:00:23 MST" [1] "2025-03-27 01:00:23 MST" Installing package into '/tmp/th798/16152617/R-release/448/library' (as 'lib' is unspecified) * installing *source* package 'data.table' ... ** using staged installation zlib 1.2.13 is available ok * checking if R installation supports OpenMP without any extra hints... yes ** libs using C compiler: 'gcc (Spack GCC) 12.2.0' /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c assign.c -o assign.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c between.c -o between.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c bmerge.c -o bmerge.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c chmatch.c -o chmatch.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c cj.c -o cj.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c coalesce.c -o coalesce.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c dogroups.c -o dogroups.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fastmean.c -o fastmean.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fcast.c -o fcast.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fifelse.c -o fifelse.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fmelt.c -o fmelt.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c forder.c -o forder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frank.c -o frank.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fread.c -o fread.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c freadR.c -o freadR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c froll.c -o froll.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frollR.c -o frollR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c frolladaptive.c -o frolladaptive.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fsort.c -o fsort.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwrite.c -o fwrite.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c fwriteR.c -o fwriteR.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c gsumm.c -o gsumm.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c idatetime.c -o idatetime.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c ijoin.c -o ijoin.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c init.c -o init.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c inrange.c -o inrange.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nafill.c -o nafill.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c negate.c -o negate.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c nqrecreateindices.c -o nqrecreateindices.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c openmp-utils.c -o openmp-utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c programming.c -o programming.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c quickselect.c -o quickselect.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c rbindlist.c -o rbindlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c reorder.c -o reorder.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c shift.c -o shift.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c snprintf.c -o snprintf.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c subset.c -o subset.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c transpose.c -o transpose.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c types.c -o types.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c uniqlist.c -o uniqlist.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c utils.c -o utils.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c vecseq.c -o vecseq.o /packages/gcc/12.2.0-nnbserq/bin/gcc -I"/home/th798/R/R-release/include" -DNDEBUG -I/home/th798/.conda/envs/emacs1/include -I/home/th798/include -fopenmp -I/home/th798/.conda/envs/emacs1/include -fpic -I/packages/gcc/12.2.0-nnbserq/include -I/packages/zstd/1.5.2-cs5ansz/include -I/packages/zlib/1.2.13-po6bkge/include -I/packages/mpc/1.2.1-nnfoiwh/include -I/packages/mpfr/4.1.0-yfsqqka/include -I/packages/gmp/6.2.1-7ydtie6/include -c wrappers.c -o wrappers.o /packages/gcc/12.2.0-nnbserq/bin/gcc -shared -L/home/th798/.conda/envs/emacs1/lib -Wl,-rpath=/home/th798/.conda/envs/emacs1/lib -L/home/th798/lib -Wl,-rpath=/home/th798/lib -L/home/th798/lib64 -Wl,-rpath=/home/th798/lib64 -o data.table.so assign.o between.o bmerge.o chmatch.o cj.o coalesce.o dogroups.o fastmean.o fcast.o fifelse.o fmelt.o forder.o frank.o fread.o freadR.o froll.o frollR.o frolladaptive.o fsort.o fwrite.o fwriteR.o gsumm.o idatetime.o ijoin.o init.o inrange.o nafill.o negate.o nqrecreateindices.o openmp-utils.o programming.o quickselect.o rbindlist.o reorder.o shift.o snprintf.o subset.o transpose.o types.o uniqlist.o utils.o vecseq.o wrappers.o -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz PKG_CFLAGS = -fopenmp -I/home/th798/.conda/envs/emacs1/include PKG_LIBS = -fopenmp -L/home/th798/.conda/envs/emacs1/lib -lz if [ "data.table.so" != "data_table.so" ]; then mv data.table.so data_table.so; fi if [ "" != "Windows_NT" ] && [ `uname -s` = 'Darwin' ]; then install_name_tool -id data_table.so data_table.so; fi installing to /tmp/th798/16152617/R-release/448/library/00LOCK-data.table/00new/data.table/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (data.table) [1] "2025-03-27 01:00:42 MST" * using log directory '/tmp/th798/16152617/R-release/448/fastai.Rcheck' * using R version 4.4.3 (2025-02-28) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (Spack GCC) 12.2.0 GNU Fortran (Spack GCC) 12.2.0 * running under: Red Hat Enterprise Linux 8.10 (Ootpa) * using session charset: ASCII * checking for file 'fastai/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'fastai' version '2.2.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package 'fastai' can be installed ... OK * checking installed package size ... NOTE installed size is 5.2Mb sub-directories of 1Mb or more: doc 3.0Mb help 1.3Mb * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Complete output: > > > 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) > library(ggplot2) > library(ggpubr) > > test_check("fastai") trying URL 'https://efrosgans.eecs.berkeley.edu/cyclegan/datasets/horse2zebra.zip' Content type 'application/zip' length 116867962 bytes (111.5 MB) ================================================== downloaded 111.5 MB trying URL 'https://github.com/henry090/fastai/raw/master/files/hemorrhage.dcm' Content type 'application/octet-stream' length 524990 bytes (512 KB) ================================================== downloaded 512 KB trying URL 'https://github.com/henry090/fastai/raw/master/files/mnist.pkl.gz' Content type 'application/octet-stream' length 16168813 bytes (15.4 MB) ================================================== downloaded 15.4 MB [ FAIL 140 | WARN 158 | SKIP 0 | PASS 18 ] == Failed tests ================================================================ -- Failure ('test-collab.R:12:1'): movie lens prepare dls ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::CollabDataLoaders_from_df(...) at test-collab.R:13:3 8. \-base::do.call(collab()$CollabDataLoaders$from_df, args) -- Failure ('test-collab.R:16:1'): movie lens data model fit ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::collab_learner(dls, n_factors = 40, y_range = c(0, 5.5)) at test-collab.R:17:3 -- Failure ('test-experimental.R:17:1'): download mnist_sample ----------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-experimental.R:19:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-experimental.R:24:1'): mnist_sample dataloader --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-experimental.R:25:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:32:1'): mnist_sample load xresnet50_deep ------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-experimental.R:33:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-experimental.R:44:1'): tensor slice -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:5:1'): create tensor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(runif(10)) at test-generics-tensor.R:6:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:10:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_length(r_tensor, 10) at test-generics-tensor.R:11:3 8. \-testthat::quasi_label(enquo(object), arg = "object") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:15:1'): check == --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:20:1'): check != --------------------------- `force(expr)` threw an error. Message: object 'r_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:25:1'): check pow -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:32:1'): check != --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_scalar) at test-generics-tensor.R:34:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:40:1'): check > ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:45:1'): check < ---------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:50:1'): check >= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:55:1'): check <= --------------------------- `force(expr)` threw an error. Message: object 'scalar' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-generics-tensor.R:61:1'): check max -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:63:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:68:1'): check min -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:70:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:75:1'): check dim -------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(res) at test-generics-tensor.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:83:1'): check length ----------------------- `force(expr)` threw an error. Message: object 'res_tensor' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-testthat::expect_equal(length(res), length(res_tensor)) at test-generics-tensor.R:84:3 8. \-testthat::quasi_label(enquo(expected), expected.label, arg = "expected") 9. \-rlang::eval_bare(expr, quo_get_env(quo)) -- Failure ('test-generics-tensor.R:87:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:94:1'): check floor_div %/% ---------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:96:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:102:1'): check & --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:104:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:109:1'): check | --------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:111:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:115:1'): check not ! ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:117:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:122:1'): check sort ascending -------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:124:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:128:1'): check sort descending ------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:130:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:134:1'): check abs ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:136:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:141:1'): check + add ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:143:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:148:1'): check - substr -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:150:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:154:1'): check / divide -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:156:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:161:1'): check * mul ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:163:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:168:1'): check exp ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:170:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:175:1'): check expm1 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:177:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:181:1'): check log ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:183:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:187:1'): check log1p ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:189:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:194:1'): check round ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:196:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:201:1'): check sqrt ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:203:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:210:1'): check floor ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:212:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:218:1'): check ceiling --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:220:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:225:1'): check cos ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:227:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:231:1'): check cosh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:233:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:237:1'): check sin ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:239:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:243:1'): check sinh ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:245:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-generics-tensor.R:249:1'): check mean ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(r_vector) at test-generics-tensor.R:251:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:5:1'): download mnist_sample ------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-image.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-image.R:12:1'): mnist_sample transformations ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-image.R:13:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-image.R:19:1'): mnist_sample load into memory from folder ---- `force(expr)` threw an error. Message: object 'path' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ImageDataLoaders_from_folder(...) at test-image.R:20:3 -- Failure ('test-image.R:28:1'): mnist_sample cnn_learner --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, resnet18(), metrics = accuracy) at test-image.R:29:3 8. \-fastai::resnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-medical.R:7:1'): download URLs_SIIM_SMALL -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-medical.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-medical.R:14:1'): read dcm URLs_SIIM_SMALL ------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-medical.R:15:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-medical.R:27:1'): gather dcm URLs_SIIM_SMALL ----------------- `force(expr)` threw an error. Message: object 'items' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical.R:46:1'): datalaoder and block for URLs_SIIM_SMALL --- `force(expr)` threw an error. Message: File 'siim_small/labels.csv' does not exist or is non-readable. getwd()=='/tmp/th798/16152617/R-release/448/fastai.Rcheck/tests/testthat' Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-data.table::fread("siim_small/labels.csv") at test-medical.R:47:3 8. \-data.table:::stopf(...) 9. \-data.table:::raise_condition(...) -- Failure ('test-medical_image_render.R:12:1'): read/subplot dcm file GITHUB -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::dcmread("hemorrhage.dcm") at test-medical_image_render.R:13:3 -- Failure ('test-medical_image_render.R:16:1'): render dcm file GITHUB -------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. \-base::force(expr) -- Failure ('test-medical_image_render.R:34:1'): cmap for dcm file GITHUB ------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-img %>% show(cmap = cm()$gist_ncar, figsize = c(6, 6)) at test-medical_image_render.R:35:3 8. \-fastai::show(., cmap = cm()$gist_ncar, figsize = c(6, 6)) -- Failure ('test-model_load.R:6:1'): can load xresnet50_deep ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:10:1'): can load xresnet50 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50() at test-model_load.R:11:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:14:1'): can load xresnet34_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:15:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:18:1'): can load xresnet34 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34() at test-model_load.R:19:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:22:1'): can load xresnet18_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet34_deep() at test-model_load.R:23:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:26:1'): can load xresnet18 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet18() at test-model_load.R:27:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:31:1'): can load xresnet152 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet152() at test-model_load.R:32:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:35:1'): can load xresnet101 --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet101() at test-model_load.R:36:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:39:1'): can load xresnet50_deep ----------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::xresnet50_deep() at test-model_load.R:40:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:44:1'): can load alexnet ------------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::alexnet(progress = TRUE) at test-model_load.R:45:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:48:1'): can load vgg19_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg19_bn(progress = TRUE) at test-model_load.R:49:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:52:1'): can load vgg16_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg16_bn(progress = TRUE) at test-model_load.R:53:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:56:1'): can load vgg13_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg13_bn(progress = TRUE) at test-model_load.R:57:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:60:1'): can load vgg11_bn ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::vgg11_bn(progress = TRUE) at test-model_load.R:61:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:64:1'): can load squeezenet1_1 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_1(progress = TRUE) at test-model_load.R:65:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:68:1'): can load squeezenet1_0 ------------------ `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::squeezenet1_0(progress = TRUE) at test-model_load.R:69:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:72:1'): can load SqueezeNet --------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::SqueezeNet() at test-model_load.R:73:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:76:1'): can load resnet50 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet50(progress = TRUE) at test-model_load.R:77:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:80:1'): can load resnet34 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet34(progress = TRUE) at test-model_load.R:81:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:84:1'): can load resnet18 ----------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet18(progress = TRUE) at test-model_load.R:85:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:88:1'): can load resnet152 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet152(progress = TRUE) at test-model_load.R:89:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:92:1'): can load resnet101 ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::resnet101(progress = TRUE) at test-model_load.R:93:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:96:1'): can load densenet121 -------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet121(progress = TRUE) at test-model_load.R:97:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:100:1'): can load densenet161 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet161(progress = TRUE) at test-model_load.R:101:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:104:1'): can load densenet169 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet169(progress = TRUE) at test-model_load.R:105:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-model_load.R:108:1'): can load densenet201 ------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::densenet201(progress = TRUE) at test-model_load.R:109:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:6:1'): modify scalar tensor ------------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:7:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-modify.R:15:1'): modify 2 values tensor ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::tensor(...) at test-modify.R:16:3 8. +-vision()$all 9. \-reticulate:::`$.python.builtin.module`(vision(), "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-nn_module.R:13:1'): fit nn_module MNIST ---------------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-example %>% show_image(cmap = "gray") %>% plot() at test-nn_module.R:24:3 8. +-fastai::plot(.) 9. \-fastai::show_image(., cmap = "gray") 10. +-base::do.call(vision()$all$show_image, args) 11. +-vision()$all 12. \-reticulate:::`$.python.builtin.module`(vision(), "all") 13. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-predict_medical.R:5:1'): download URLs_SIIM_SMALL ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_SIIM_SMALL() at test-predict_medical.R:7:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$SIIM_SMALL, sep = "") -- Failure ('test-predict_medical.R:11:1'): prepare dataloader and model ------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::get_dicom_files("siim_small/train/") at test-predict_medical.R:12:3 8. \-base::do.call(medical()$get_dicom_files, args) -- Failure ('test-pretrained_in_cnn_learner.R:7:1'): download mnist_sample ----- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_MNIST_SAMPLE() at test-pretrained_in_cnn_learner.R:9:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$MNIST_SAMPLE, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:14:1'): mnist_sample dataloader -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::aug_transforms(do_flip = FALSE) at test-pretrained_in_cnn_learner.R:15:3 8. +-base::do.call(vision()$all$aug_transforms, args) 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:22:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:23:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:27:1'): mnist_sample load xresnet50 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:28:3 8. \-fastai::xresnet50() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:33:1'): mnist_sample load xresnet34_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:34:3 8. \-fastai::xresnet34_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:38:1'): mnist_sample load xresnet34 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:39:3 8. \-fastai::xresnet34() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:43:1'): mnist_sample load xresnet18_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:44:3 8. \-fastai::xresnet18_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:49:1'): mnist_sample load xresnet18 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:50:3 8. \-fastai::xresnet18() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:55:1'): mnist_sample load xresnet152 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:56:3 8. \-fastai::xresnet152() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:60:1'): mnist_sample load xresnet101 -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:61:3 8. \-fastai::xresnet101() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:66:1'): mnist_sample load xresnet50_deep -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::cnn_learner(data, xresnet50_deep(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:67:3 8. \-fastai::xresnet50_deep() 9. +-vision()$all 10. \-reticulate:::`$.python.builtin.module`(vision(), "all") 11. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:71:1'): download PETS ------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_PETS() at test-pretrained_in_cnn_learner.R:73:5 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$PETS, sep = "") -- Failure ('test-pretrained_in_cnn_learner.R:89:1'): pet show batch ----------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::show_batch(dls) at test-pretrained_in_cnn_learner.R:90:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-pretrained_in_cnn_learner.R:93:1'): pet load alexnet --------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, alexnet(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:94:3 -- Failure ('test-pretrained_in_cnn_learner.R:105:1'): pet load vgg19_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg19_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:106:3 -- Failure ('test-pretrained_in_cnn_learner.R:110:1'): pet load vgg16_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg16_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:111:3 -- Failure ('test-pretrained_in_cnn_learner.R:115:1'): pet load vgg13_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg13_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:116:3 -- Failure ('test-pretrained_in_cnn_learner.R:121:1'): pet load vgg11_bn ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, vgg11_bn(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:122:3 -- Failure ('test-pretrained_in_cnn_learner.R:126:1'): pet load squeezenet1_1 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_1(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:127:3 -- Failure ('test-pretrained_in_cnn_learner.R:132:1'): pet load squeezenet1_0 -- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, squeezenet1_0(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:133:3 -- Failure ('test-pretrained_in_cnn_learner.R:137:1'): pet load resnet50 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet50(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:138:3 -- Failure ('test-pretrained_in_cnn_learner.R:142:1'): pet load resnet34 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet34(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:143:3 -- Failure ('test-pretrained_in_cnn_learner.R:147:1'): pet load resnet18 ------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet18(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:148:3 -- Failure ('test-pretrained_in_cnn_learner.R:152:1'): pet load resnet152 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet152(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:153:3 -- Failure ('test-pretrained_in_cnn_learner.R:157:1'): pet load resnet101 ------ `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, resnet101(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:158:3 -- Failure ('test-pretrained_in_cnn_learner.R:163:1'): pet load densenet121 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet121(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:164:3 -- Failure ('test-pretrained_in_cnn_learner.R:168:1'): pet load densenet161 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet161(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:169:3 -- Failure ('test-pretrained_in_cnn_learner.R:173:1'): pet load densenet169 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet169(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:174:3 -- Failure ('test-pretrained_in_cnn_learner.R:178:1'): pet load densenet201 ---- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::cnn_learner(dls, densenet201(), metrics = accuracy) at test-pretrained_in_cnn_learner.R:179:3 -- Failure ('test-pretrained_in_cnn_learner.R:183:1'): pet load timm mixnet_xl -- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::timm_learner(...) at test-pretrained_in_cnn_learner.R:184:3 -- Failure ('test-regression.R:12:1'): dls create ------------------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-regression.R:13:3 -- Failure ('test-regression.R:20:1'): tabular ops create model ---------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% ... at test-regression.R:21:3 8. \-fastai::tabular_learner(...) -- Failure ('test-regression.R:24:1'): tabular ops dims==batch ----------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-regression.R:25:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-regression.R:32:1'): tabular ops train model ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.01) at test-regression.R:33:3 8. \-generics::fit(., 1, 0.01) -- Failure ('test-regression.R:36:1'): tabular ops predict --------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-regression.R:37:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:5:1'): dataset load -------------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_ADULT_SAMPLE() at test-tabular.R:7:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$ADULT_SAMPLE, sep = "") -- Failure ('test-tabular.R:16:1'): tabular ops FillMissing -------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(FillMissing()), "") at test-tabular.R:17:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(FillMissing()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::FillMissing() -- Failure ('test-tabular.R:20:1'): tabular ops Categorify --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Categorify()), "") at test-tabular.R:21:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Categorify()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Categorify() -- Failure ('test-tabular.R:24:1'): tabular ops Normalize ---------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-testthat::expect_equal(capture.output(Normalize()), "") at test-tabular.R:25:3 8. | \-testthat::quasi_label(enquo(object), label, arg = "object") 9. | \-rlang::eval_bare(expr, quo_get_env(quo)) 10. +-utils::capture.output(Normalize()) 11. | \-base::withVisible(...elt(i)) 12. \-fastai::Normalize() -- Failure ('test-tabular.R:28:1'): tabular ops dataloader --------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::FillMissing() at test-tabular.R:29:3 -- Failure ('test-tabular.R:37:1'): tabular ops create model ------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% tabular_learner(layers = c(200, 100), metrics = accuracy()) at test-tabular.R:38:3 8. \-fastai::tabular_learner(., layers = c(200, 100), metrics = accuracy()) -- Failure ('test-tabular.R:41:1'): tabular ops dims==batch -------------------- `force(expr)` threw an error. Message: object 'dls' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-dls %>% one_batch(TRUE) at test-tabular.R:42:3 8. \-fastai::one_batch(., TRUE) 9. \-base::do.call(object$one_batch, args) -- Failure ('test-tabular.R:50:1'): tabular ops train model -------------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% fit(1, 0.001) at test-tabular.R:51:3 8. \-generics::fit(., 1, 0.001) -- Failure ('test-tabular.R:54:1'): tabular ops predict ------------------------ `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% predict(df[4, ]) at test-tabular.R:55:3 8. \-stats::predict(., df[4, ]) -- Failure ('test-tabular.R:59:1'): tabular ops get optimal lr ----------------- `force(expr)` threw an error. Message: object 'model' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% lr_find() at test-tabular.R:60:3 8. \-fastai::lr_find(.) 9. +-base::print(do.call(object$lr_find, args)) 10. \-base::do.call(object$lr_find, args) -- Failure ('test-tabular.R:65:1'): tabular ops confusion matrix --------------- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-model %>% get_confusion_matrix() %>% as.data.frame() at test-tabular.R:66:3 8. +-base::as.data.frame(.) 9. \-fastai::get_confusion_matrix(.) 10. +-vision()$all 11. \-reticulate:::`$.python.builtin.module`(vision(), "all") 12. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-tabular.R:72:1'): tabular ops confusion matrix via class-n interp -- `force(expr)` threw an error. Message: AttributeError: module 'fastai.vision' has no attribute 'all' Run `reticulate::py_last_error()` for details. Class: python.builtin.AttributeError/python.builtin.Exception/python.builtin.BaseException/python.builtin.object/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::ClassificationInterpretation_from_learner(model) at test-tabular.R:73:3 8. +-fastai2$vision$all 9. \-reticulate:::`$.python.builtin.module`(fastai2$vision, "all") 10. \-reticulate::py_get_attr(x, name, FALSE) -- Failure ('test-text-load.R:22:1'): text dataloader -------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text-load.R:23:3 8. \-fastai::TextBlock_from_df(text_cols = "review") 9. \-base::do.call(text()$TextBlock$from_df, args) -- Failure ('test-text-load.R:33:1'): predict text with AWS -------------------- `force(expr)` threw an error. Message: object 'data_iterator' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text-load.R:34:3 -- Failure ('test-text.R:5:1'): download URLs_IMDB ----------------------------- `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::URLs_IMDB() at test-text.R:6:3 8. +-utils::download.file(...) 9. \-base::paste(tabular()$URLs$IMDB, sep = "") -- Failure ('test-text.R:10:1'): download URLs_IMDB Datablock ------------------ `force(expr)` threw an error. Message: $ operator is invalid for atomic vectors Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-fastai::DataBlock(...) at test-text.R:13:3 8. \-fastai::TextBlock_from_folder(path, is_lm = TRUE) 9. \-base::do.call(text()$TextBlock$from_folder, args) -- Failure ('test-text.R:19:1'): download URLs_IMDB Datablock dataloaders ------ `force(expr)` threw an error. Message: object 'imdb_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. +-imdb_lm %>% ... at test-text.R:20:3 8. \-fastai::dataloaders(...) 9. \-base::do.call(object$dataloaders, my_list) -- Failure ('test-text.R:23:1'): download URLs_IMDB Datablock leaner ----------- `force(expr)` threw an error. Message: object 'dbunch_lm' not found Class: simpleError/error/condition Backtrace: x 1. +-testthat::expect_error(force(expr), NA) 2. | \-testthat:::quasi_capture(...) 3. | +-testthat (local) .capture(...) 4. | | \-base::withCallingHandlers(...) 5. | \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. +-base::force(expr) 7. \-fastai::language_model_learner(...) at test-text.R:24:3 [ FAIL 140 | WARN 158 | SKIP 0 | PASS 18 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE See '/tmp/th798/16152617/R-release/448/fastai.Rcheck/00check.log' for details. [1] "2025-03-27 01:05:53 MST" > system(paste(c("diff -u", Rcheck.list), collapse=" ")) > library(data.table, lib.loc=R.home("library")) > (sig.diff.dt <- myDiff(Rvers)) Key: Empty data.table (0 rows and 3 cols): checking,master,release > > ## If there are significant differences, use git bisect to find when > ## they started. > if(nrow(sig.diff.dt)){ + dt.git <- file.path(task.dir, "data.table.git") + system(paste("cd ~/R/data.table && git fetch --tags")) + system(paste("git clone ~/R/data.table", dt.git)) + release.tag <- gsub(".tar.gz|.*_", "", cargs[["release"]]) + rev.parse.cmd <- paste( + "cd", dt.git, "&& git rev-parse master") + master.sha <- system(rev.parse.cmd, intern=TRUE) + merge.base.cmd <- paste( + "cd", dt.git, "&& git merge-base master", release.tag) + merge.base.sha <- system(merge.base.cmd, intern=TRUE) + old.sha <- merge.base.sha + run_R <- file.path(proj.dir, "install_dt_then_check_dep.R") + sig.diff.dt[, first.bad.commit := NA_character_] + sig.diff.dt[, comments := NA_character_] + for(diff.i in 1:nrow(sig.diff.dt)){ + sig.diff.row <- sig.diff.dt[diff.i] + bisect.cmd <- paste( + "cd", dt.git, "&&", + "git bisect start &&", + "git bisect old", old.sha, "&&", + "git bisect new master &&", + "git bisect run", + R.home('bin/Rscript'), + run_R, + shQuote(sig.diff.row$checking), + sig.diff.row$release, + rev.dep.release.tar.gz, + release.tag) + print(bisect.cmd) + bisect.out <- system(bisect.cmd, intern=TRUE) + cat(bisect.out,sep="\n") + if(is.null(attr(bisect.out,"status"))){ + first.bad.sha <- nc::capture_all_str( + bisect.out, + sha="[0-9a-f]+", + " is the first new commit")$sha + parent.cmd <- paste( + "cd ~/R/data.table && git log --pretty=%P -n 1", + first.bad.sha) + parent.sha <- system(parent.cmd, intern=TRUE) + sig.diff.dt[diff.i, first.bad.commit := first.bad.sha] + parent.msg <- paste0("parent=", parent.sha) + this.comment <- if(parent.sha==old.sha){ + paste(parent.msg, "same as git bisect old") + }else if(first.bad.sha==master.sha){ + paste("same as git bisect new=master,", parent.msg) + }else{ + parent.msg + } + sig.diff.dt[diff.i, comments := this.comment] + } + } + ## add CRAN column. + sig.diff.dt[, CRAN := { + flavor <- get_flavor(Rvers) + details <- data.table(flavor=unique(flavor))[, { + base <- "https://www.r-project.org/nosvn/R.check/" + u <- paste0(base, flavor, "/", rev.dep, "-00check.txt") + check.txt <- tempfile() + tryCatch({ + download.file(u, check.txt, quiet=TRUE) + }, error=function(e){ + NULL + }) + check.lines <- if(file.exists(check.txt)){ + readLines(check.txt,encoding="UTF-8") + }else{ + "" + } + repl.lines <- gsub("[\u2018\u2019]", "'", check.lines) + ##gsub("[‘’]", "'", check.lines) does not work with LC_ALL=C. + myStatus(line.vec=repl.lines) + }, by=flavor] + select.dt <- data.table(flavor, checking) + details[select.dt, msg, on=.(flavor, checking)] + }] + dir.create(file.path(job.dir, Rvers)) + diffs.csv <- file.path(job.dir, Rvers, "significant_differences.csv") + data.table::fwrite(sig.diff.dt, diffs.csv) + print(sig.diff.dt) + } >