* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.4/gofigR.Rcheck’ * using R version 4.4.1 (2024-06-14) * using platform: x86_64-apple-darwin20 * R was compiled by Apple clang version 14.0.0 (clang-1400.0.29.202) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.3.1 * using session charset: UTF-8 * checking for file ‘gofigR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘gofigR’ version ‘1.1.0’ * 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 ‘gofigR’ can be installed ... [3s/4s] OK See 'https://www.r-project.org/nosvn/R.check/r-oldrel-macos-x86_64/gofigR-00install.html' for details. * checking installed package size ... OK * checking package 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/4s] OK * checking Rd files ... [1s/1s] 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 examples ... [1s/1s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [2s/3s] ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(gofigR) > > test_check("gofigR") Linking to ImageMagick 6.9.12.93 Enabled features: cairo, fontconfig, freetype, heic, lcms, pango, raw, rsvg, webp Disabled features: fftw, ghostscript, x11 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_integration.R:12:1'): (code run outside of `test_that()`) ────── Error in `(function (size, options, memory_format) { .Call(`_torch_cpp_torch_namespace_empty_size_IntArrayRef`, size, options, memory_format) })(size = list(64, 3, 7, 7), options = list(dtype = NULL, layout = NULL, device = NULL, requires_grad = FALSE), memory_format = NULL)`: Lantern is not loaded. Please use `install_torch()` to install additional dependencies. Backtrace: ▆ 1. └─torchvision::model_resnet18(pretrained = TRUE) at test_integration.R:12:1 2. └─torchvision:::.resnet(...) 3. └─torch (local) resnet(block, layers, ...) 4. └─Module$new(...) 5. └─torchvision (local) initialize(...) 6. └─torch::nn_conv2d(...) 7. └─Module$new(...) 8. └─torch (local) initialize(...) 9. └─super$initialize(...) 10. ├─torch::nn_parameter(...) 11. │ └─torch:::is_torch_tensor(x) 12. └─torch::torch_empty(out_channels, in_channels%/%groups, !!!kernel_size) 13. ├─base::do.call(.torch_empty, args) 14. └─torch (local) ``(options = ``, size = ``) 15. └─torch:::call_c_function(...) 16. └─torch:::do_call(f, args) 17. ├─base::do.call(fun, args) 18. └─torch (local) ``(size = ``, options = ``, memory_format = NULL) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking PDF version of manual ... [7s/10s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 0:44