CRAN Package Check Results for Package rextendr

Last updated on 2025-05-03 12:54:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 5.51 48.96 54.47 NOTE
r-devel-linux-x86_64-debian-gcc 0.3.1 3.55 36.97 40.52 NOTE
r-devel-linux-x86_64-fedora-clang 0.4.0 650.50 ERROR
r-devel-linux-x86_64-fedora-gcc 0.4.0 603.49 ERROR
r-devel-windows-x86_64 0.3.1 7.00 67.00 74.00 NOTE
r-patched-linux-x86_64 0.3.1 5.50 45.64 51.14 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 0.4.0 48.00 ERROR
r-release-macos-x86_64 0.4.0 102.00 ERROR
r-release-windows-x86_64 0.4.0 13.00 365.00 378.00 OK
r-oldrel-macos-arm64 0.4.0 48.00 ERROR
r-oldrel-macos-x86_64 0.4.0 93.00 ERROR
r-oldrel-windows-x86_64 0.3.1 9.00 78.00 87.00 OK

Additional issues

M1mac

Check Details

Version: 0.3.1
Check: DESCRIPTION meta-information
Result: NOTE Missing dependency on R >= 4.1.0 because package code uses the pipe |> or function shorthand \(...) syntax added in R 4.1.0. File(s) using such syntax: ‘utils.R’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9m/16m] 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(rextendr) > > test_check("rextendr") Starting 2 test processes [ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3', 'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3', 'test-cran-compliance.R:13:3', 'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3' • On Linux (1): 'test-source.R:70:3' • `cargo license --help` is not available. (1): 'test-license_note.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-eval.R:4:3'): `rust_eval()` works ────────────────────────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustc5jK138/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustc5jK138/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr1.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. ├─testthat::expect_equal(rust_eval("2 + 2"), 4) at test-eval.R:4:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rextendr::rust_eval("2 + 2") 5. └─rextendr:::rust_eval_deferred(code = code, env = env, ...) 6. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 7. └─rextendr::rust_source(...) 8. └─rextendr:::invoke_cargo(...) 9. └─rextendr:::check_cargo_output(...) 10. └─rlang::abort(...) ── Error ('test-eval.R:25:5'): multiple `rust_eval_deferred()` work correctly ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcgV3XtP/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcgV3XtP/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr2.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:23:3 2. └─base::lapply(.x, .f, ...) 3. └─rextendr (local) FUN(X[[i]], ...) 4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:25:5 5. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 6. └─rextendr::rust_source(...) 7. └─rextendr:::invoke_cargo(...) 8. └─rextendr:::check_cargo_output(...) 9. └─rlang::abort(...) ── Error ('test-eval.R:53:5'): multiple `rust_eval_deferred()` work correctly in reverse order ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcvqLJww/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcvqLJww/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr3.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:51:3 2. └─base::lapply(.x, .f, ...) 3. └─rextendr (local) FUN(X[[i]], ...) 4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:53:5 5. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 6. └─rextendr::rust_source(...) 7. └─rextendr:::invoke_cargo(...) 8. └─rextendr:::check_cargo_output(...) 9. └─rlang::abort(...) ── Error ('test-eval.R:77:3'): `rust_eval_deferred()` disallows multiple executions of the same chunk ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcHifhI5/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcHifhI5/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr4.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::rust_eval_deferred("5i32 + 6i32") at test-eval.R:77:3 2. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 3. └─rextendr::rust_source(...) 4. └─rextendr:::invoke_cargo(...) 5. └─rextendr:::check_cargo_output(...) 6. └─rlang::abort(...) ── Error ('test-eval.R:97:3'): `rust_eval_deferred()` environment cleanup ────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcPVAiFh/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcPVAiFh/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr5.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::rust_eval_deferred("42i32") at test-eval.R:97:3 2. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 3. └─rextendr::rust_source(...) 4. └─rextendr:::invoke_cargo(...) 5. └─rextendr:::check_cargo_output(...) 6. └─rlang::abort(...) ── Error ('test-eval.R:123:3'): `rust_eval_deferred()` generates unique function names ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcezgeM7/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcezgeM7/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr6.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::rust_eval_deferred(rust_code) at test-eval.R:123:3 2. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 3. └─rextendr::rust_source(...) 4. └─rextendr:::invoke_cargo(...) 5. └─rextendr:::check_cargo_output(...) 6. └─rlang::abort(...) ── Error ('test-extendr_function_options.R:4:3'): `extendr` code is compiled with `either` feature ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcWpWfVO/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcWpWfVO/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr7.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-extendr_function_options.R:4:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-extendr_function_options.R:29:3'): `r_name` option renames R function ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcz5BTYD/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcz5BTYD/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr8.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-extendr_function_options.R:29:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-extendr_function_options.R:95:5'): `rust_function()` does not emit any messages when `quiet = TRUE` ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustc0Py0wG/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustc0Py0wG/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr11.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. ├─testthat::expect_no_message(...) at test-extendr_function_options.R:95:5 2. │ └─testthat:::expect_no_(...) 3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─rlang::try_fetch(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─rextendr::rust_function(code = "fn func() {}", quiet = TRUE) 9. └─rextendr::rust_source(...) 10. └─rextendr:::invoke_cargo(...) 11. └─rextendr:::check_cargo_output(...) 12. └─rlang::abort(...) ── Error ('test-knitr-engine.R:12:3'): knitr-engine works ────────────────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustc9R9Bg6/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustc9R9Bg6/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr12.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. ├─testthat::expect_equal(eng_extendr(options), "2 + 2\n## [1] 4\n") at test-knitr-engine.R:12:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rextendr::eng_extendr(options) 5. └─rextendr:::eng_impl(options, rust_eval_deferred) 6. ├─base::do.call(extendr_engine, c(list(code = code), opts)) 7. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`) 8. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 9. └─rextendr::rust_source(...) 10. └─rextendr:::invoke_cargo(...) 11. └─rextendr:::check_cargo_output(...) 12. └─rlang::abort(...) ── Error ('test-knitr-engine.R:32:3'): Snapshot test of knitr-engine ─────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcWqqgDu/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcWqqgDu/symbols.o" "<38 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr14.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─knitr::knit(input, output) at test-knitr-engine.R:32:3 2. └─knitr:::process_file(text, output) 3. ├─xfun:::handle_error(...) 4. ├─base::withCallingHandlers(...) 5. └─knitr:::process_group(group) 6. └─knitr:::call_block(x) 7. └─knitr:::block_exec(params) 8. ├─knitr:::in_input_dir(engine(options)) 9. │ └─knitr:::in_dir(input_dir(), expr) 10. └─rextendr (local) engine(options) 11. └─rextendr:::eng_impl(options, rust_eval_deferred) 12. ├─base::do.call(extendr_engine, c(list(code = code), opts)) 13. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`) 14. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 15. └─rextendr::rust_source(...) 16. └─rextendr:::invoke_cargo(...) 17. └─rextendr:::check_cargo_output(...) 18. └─rlang::abort(...) ── Error ('test-name-override.R:20:3'): Multiple rust functions with the same name ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcAlc15N/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcAlc15N/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr15.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(code = rust_src_1, quiet = FALSE) at test-name-override.R:20:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Error ('test-optional-features.R:6:3'): Feature 'ndarray' is enabled when no extra dependencies are specified ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcflvi4B/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcflvi4B/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-8e0ab4d1b9066e0c.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/libndarray_examplebcd95e7564fe2303f644a93916d657f516.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(file = input, features = "ndarray") at test-optional-features.R:6:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Error ('test-optional-features.R:23:3'): Feature 'ndarray' is enabled when 'extendr-api' has features enabled ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcU1aTs5/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcU1aTs5/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/libndarray_examplebcd95e7564fe2303f644a93916d657f517.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(...) at test-optional-features.R:23:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Error ('test-optional-features.R:39:3'): Enable multiple features simultaneously ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustc8L7TJB/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustc8L7TJB/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr18.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-optional-features.R:39:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-source.R:26:3'): `rust_source()` works ───────────────────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcXszzgv/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcXszzgv/symbols.o" "<33 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr19.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(code = rust_src, quiet = FALSE, cache_build = TRUE) at test-source.R:26:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Failure ('test-source.R:98:3'): `rust_code()` can compile code from rust file ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcCSFjWH/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcCSFjWH/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d423.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:99:3'): `rust_code()` can compile code from rust file ── Error in `test_method()`: could not find function "test_method" Backtrace: ▆ 1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:99:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-source.R:107:3'): `rust_code()` can compile code from rust file multiple times ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcbx3qPW/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcbx3qPW/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d424.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Failure ('test-source.R:108:3'): `rust_code()` can compile code from rust file multiple times ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcOBQTIo/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcOBQTIo/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d425.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Failure ('test-source.R:109:3'): `rust_code()` can compile code from rust file multiple times ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustc9HA3Y4/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustc9HA3Y4/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librust_sourceb03986b1b501dd3628c4b83442aeb2d426.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:110:3'): `rust_code()` can compile code from rust file multiple times ── Error in `test_method()`: could not find function "test_method" Backtrace: ▆ 1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:110:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-source.R:120:3'): `rust_code()` can compile code from rust files with identical names ── Expected `rust_source(input_1, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustc5eDkhS/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustc5eDkhS/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librust_source90c09f7f653469a1b11422d85ba9765c27.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Failure ('test-source.R:121:3'): `rust_code()` can compile code from rust files with identical names ── Expected `rust_source(input_2, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcF9LcjX/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcF9LcjX/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librust_sourceee32d0edacb3c335909cd114adabc65b28.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:123:3'): `rust_code()` can compile code from rust files with identical names ── Error in `test_method_1()`: could not find function "test_method_1" Backtrace: ▆ 1. └─testthat::expect_equal(test_method_1(), 1L) at test-source.R:123:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-source.R:131:3'): `rust_source()` should not raise internal error for code without extendr attrs ── Expected `rust_source(code = "fn test() {}")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcrOsYgp/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcrOsYgp/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr29.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:144:3'): `rust_function()` supports `r#` prefix in rust function names ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcrboSiX/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcrboSiX/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpXQiZ7a/file1aa86151761727/target/debug/deps/librextendr30.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(code = rust_fn_src) at test-source.R:144:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-use_dev_extendr.R:5:3'): `use_dev_extendr = TRUE` works together with `features` ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:/usr/local/clang/bin:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmp7RJWON/working_dir/rustcWESHVC/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmp7RJWON/working_dir/rustcWESHVC/symbols.o" "<30 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmp7RJWON/working_dir/RtmpWwjRr0/file1aa889c4a78e/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-clang/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/Rtmp7RJWON/working_dir/RtmpWwjRr0/file1aa889c4a78e/target/debug/deps/librextendr1.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-use_dev_extendr.R:5:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) [ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [506s/431s] 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(rextendr) > > test_check("rextendr") Starting 2 test processes [ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3', 'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3', 'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-cran-compliance.R:13:3', 'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3' • On Linux (1): 'test-source.R:70:3' • `cargo license --help` is not available. (1): 'test-license_note.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-eval.R:4:3'): `rust_eval()` works ────────────────────────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVnES31/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVnES31/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr1.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. ├─testthat::expect_equal(rust_eval("2 + 2"), 4) at test-eval.R:4:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rextendr::rust_eval("2 + 2") 5. └─rextendr:::rust_eval_deferred(code = code, env = env, ...) 6. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 7. └─rextendr::rust_source(...) 8. └─rextendr:::invoke_cargo(...) 9. └─rextendr:::check_cargo_output(...) 10. └─rlang::abort(...) ── Error ('test-eval.R:25:5'): multiple `rust_eval_deferred()` work correctly ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcyWQnZz/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcyWQnZz/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr2.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:23:3 2. └─base::lapply(.x, .f, ...) 3. └─rextendr (local) FUN(X[[i]], ...) 4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:25:5 5. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 6. └─rextendr::rust_source(...) 7. └─rextendr:::invoke_cargo(...) 8. └─rextendr:::check_cargo_output(...) 9. └─rlang::abort(...) ── Error ('test-eval.R:53:5'): multiple `rust_eval_deferred()` work correctly in reverse order ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcqqw3On/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcqqw3On/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr3.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::map(provided_values, function(.x) rust_eval_deferred(glue::glue("{.x}i32"))) at test-eval.R:51:3 2. └─base::lapply(.x, .f, ...) 3. └─rextendr (local) FUN(X[[i]], ...) 4. └─rextendr:::rust_eval_deferred(glue::glue("{.x}i32")) at test-eval.R:53:5 5. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 6. └─rextendr::rust_source(...) 7. └─rextendr:::invoke_cargo(...) 8. └─rextendr:::check_cargo_output(...) 9. └─rlang::abort(...) ── Error ('test-eval.R:77:3'): `rust_eval_deferred()` disallows multiple executions of the same chunk ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustc7lO7ST/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustc7lO7ST/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr4.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::rust_eval_deferred("5i32 + 6i32") at test-eval.R:77:3 2. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 3. └─rextendr::rust_source(...) 4. └─rextendr:::invoke_cargo(...) 5. └─rextendr:::check_cargo_output(...) 6. └─rlang::abort(...) ── Error ('test-eval.R:97:3'): `rust_eval_deferred()` environment cleanup ────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcN8wknw/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcN8wknw/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr5.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::rust_eval_deferred("42i32") at test-eval.R:97:3 2. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 3. └─rextendr::rust_source(...) 4. └─rextendr:::invoke_cargo(...) 5. └─rextendr:::check_cargo_output(...) 6. └─rlang::abort(...) ── Error ('test-eval.R:123:3'): `rust_eval_deferred()` generates unique function names ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcfuS0ku/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcfuS0ku/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr6.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr:::rust_eval_deferred(rust_code) at test-eval.R:123:3 2. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 3. └─rextendr::rust_source(...) 4. └─rextendr:::invoke_cargo(...) 5. └─rextendr:::check_cargo_output(...) 6. └─rlang::abort(...) ── Error ('test-extendr_function_options.R:4:3'): `extendr` code is compiled with `either` feature ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustc9ztq5e/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustc9ztq5e/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr7.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-extendr_function_options.R:4:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-extendr_function_options.R:29:3'): `r_name` option renames R function ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcLtgaNm/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcLtgaNm/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr8.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-extendr_function_options.R:29:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-extendr_function_options.R:95:5'): `rust_function()` does not emit any messages when `quiet = TRUE` ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcTT7kJQ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcTT7kJQ/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr11.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. ├─testthat::expect_no_message(...) at test-extendr_function_options.R:95:5 2. │ └─testthat:::expect_no_(...) 3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─rlang::try_fetch(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 8. └─rextendr::rust_function(code = "fn func() {}", quiet = TRUE) 9. └─rextendr::rust_source(...) 10. └─rextendr:::invoke_cargo(...) 11. └─rextendr:::check_cargo_output(...) 12. └─rlang::abort(...) ── Error ('test-knitr-engine.R:12:3'): knitr-engine works ────────────────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustc4FsiBn/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustc4FsiBn/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr12.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. ├─testthat::expect_equal(eng_extendr(options), "2 + 2\n## [1] 4\n") at test-knitr-engine.R:12:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─rextendr::eng_extendr(options) 5. └─rextendr:::eng_impl(options, rust_eval_deferred) 6. ├─base::do.call(extendr_engine, c(list(code = code), opts)) 7. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`) 8. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 9. └─rextendr::rust_source(...) 10. └─rextendr:::invoke_cargo(...) 11. └─rextendr:::check_cargo_output(...) 12. └─rlang::abort(...) ── Error ('test-knitr-engine.R:32:3'): Snapshot test of knitr-engine ─────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcefeDeG/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcefeDeG/symbols.o" "<38 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr14.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─knitr::knit(input, output) at test-knitr-engine.R:32:3 2. └─knitr:::process_file(text, output) 3. ├─xfun:::handle_error(...) 4. ├─base::withCallingHandlers(...) 5. └─knitr:::process_group(group) 6. └─knitr:::call_block(x) 7. └─knitr:::block_exec(params) 8. ├─knitr:::in_input_dir(engine(options)) 9. │ └─knitr:::in_dir(input_dir(), expr) 10. └─rextendr (local) engine(options) 11. └─rextendr:::eng_impl(options, rust_eval_deferred) 12. ├─base::do.call(extendr_engine, c(list(code = code), opts)) 13. └─rextendr (local) `<fn>`(code = `<glue>`, env = `<env>`) 14. └─rextendr::rust_function(code = code_wrapped, env = env, ...) 15. └─rextendr::rust_source(...) 16. └─rextendr:::invoke_cargo(...) 17. └─rextendr:::check_cargo_output(...) 18. └─rlang::abort(...) ── Error ('test-name-override.R:20:3'): Multiple rust functions with the same name ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcU1tuss/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcU1tuss/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr15.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(code = rust_src_1, quiet = FALSE) at test-name-override.R:20:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Error ('test-optional-features.R:6:3'): Feature 'ndarray' is enabled when no extra dependencies are specified ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcUWAn6u/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcUWAn6u/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-8e0ab4d1b9066e0c.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/libndarray_example7bc44844903e95bc41c6c7c3482e699a16.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(file = input, features = "ndarray") at test-optional-features.R:6:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Error ('test-optional-features.R:23:3'): Feature 'ndarray' is enabled when 'extendr-api' has features enabled ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVhvvEm/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVhvvEm/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/libndarray_example7bc44844903e95bc41c6c7c3482e699a17.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(...) at test-optional-features.R:23:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Error ('test-optional-features.R:39:3'): Enable multiple features simultaneously ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVdskde/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVdskde/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-1a37ed81df36c74c.rlib,libserde-0667619b96f6c4cf.rlib,libndarray-e65b127e407d6622.rlib,libmatrixmultiply-995c17ef83e07fe8.rlib,libnum_complex-6f6d3150a7c4301a.rlib,libnum_integer-7b4810a00ae1e5b1.rlib,libnum_traits-e37ca01aaa5e0061.rlib,librawpointer-59a0240942d6f1de.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr18.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-optional-features.R:39:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-source.R:26:3'): `rust_source()` works ───────────────────────── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustckxkewC/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustckxkewC/symbols.o" "<33 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr19.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_source(code = rust_src, quiet = FALSE, cache_build = TRUE) at test-source.R:26:3 2. └─rextendr:::invoke_cargo(...) 3. └─rextendr:::check_cargo_output(...) 4. └─rlang::abort(...) ── Failure ('test-source.R:98:3'): `rust_code()` can compile code from rust file ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcDEhXtH/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcDEhXtH/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043423.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:99:3'): `rust_code()` can compile code from rust file ── Error in `test_method()`: could not find function "test_method" Backtrace: ▆ 1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:99:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-source.R:107:3'): `rust_code()` can compile code from rust file multiple times ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcQIZIcV/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcQIZIcV/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043424.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Failure ('test-source.R:108:3'): `rust_code()` can compile code from rust file multiple times ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcqDH0Gg/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcqDH0Gg/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043425.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Failure ('test-source.R:109:3'): `rust_code()` can compile code from rust file multiple times ── Expected `rust_source(input, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcVdkQhS/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcVdkQhS/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source306079fb60919b85af3bf51c58fe043426.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:110:3'): `rust_code()` can compile code from rust file multiple times ── Error in `test_method()`: could not find function "test_method" Backtrace: ▆ 1. └─testthat::expect_equal(test_method(), 42L) at test-source.R:110:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-source.R:120:3'): `rust_code()` can compile code from rust files with identical names ── Expected `rust_source(input_1, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcHe1CSN/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcHe1CSN/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source2f3481fc6f10f3c0e0b68891627ba70727.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Failure ('test-source.R:121:3'): `rust_code()` can compile code from rust files with identical names ── Expected `rust_source(input_2, module_name = "test_module")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustceo4Wvb/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustceo4Wvb/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librust_source6ed354f524dabc3db4a3352dc30986fc28.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:123:3'): `rust_code()` can compile code from rust files with identical names ── Error in `test_method_1()`: could not find function "test_method_1" Backtrace: ▆ 1. └─testthat::expect_equal(test_method_1(), 1L) at test-source.R:123:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Failure ('test-source.R:131:3'): `rust_source()` should not raise internal error for code without extendr attrs ── Expected `rust_source(code = "fn test() {}")` to run without any errors. i Actually got a <rextendr_error> with text: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcTBfLzc/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcTBfLzc/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr29.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status ── Error ('test-source.R:144:3'): `rust_function()` supports `r#` prefix in rust function names ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcJSU5DF/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcJSU5DF/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-c5e15228024c57a7.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-98bdc82d3ad8fed1.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr30.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(code = rust_fn_src) at test-source.R:144:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) ── Error ('test-use_dev_extendr.R:5:3'): `use_dev_extendr = TRUE` works together with `features` ── <rextendr_error/rlang_error/error/condition> Error in `invoke_cargo(toolchain = toolchain, specific_target = specific_target, dir = dir, profile = profile, quiet = quiet, use_rtools = use_rtools)`: Rust code could not be compiled successfully. Aborting. x error: linking with `cc` failed: exit status: 1 | = note: LC_ALL="C" PATH="/usr/lib/rustlib/x86_64-unknown-linux-gnu/bin:.:/data/gannet/ripley/bin:/usr/local/texbin:/usr/local/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/RtmpJT063I/working_dir/rustcq2bbbE/list" "-Wl,--no-undefined-version" "-m64" "/tmp/RtmpJT063I/working_dir/rustcq2bbbE/symbols.o" "<30 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/{libextendr_api-980e28c817751dc9.rlib,libeither-be6071ba1b15a903.rlib,libonce_cell-44ee1a051b302198.rlib,libextendr_ffi-d17ba068c73c1073.rlib}" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-c8fe07ff6c832c21.rlib,libpanic_unwind-1601faa8a1b41909.rlib,libobject-b2228c085f7e9d40.rlib,libmemchr-f93030bbc078a0ef.rlib,libaddr2line-0c95106b7360190e.rlib,libgimli-71bde2f0bed327e7.rlib,librustc_demangle-b71d17d7b2ce3452.rlib,libstd_detect-09201eec3e97bcb1.rlib,libhashbrown-6c6a559d46b8ef54.rlib,librustc_std_workspace_alloc-829eb07a9cf6d799.rlib,libminiz_oxide-78a67b4ab582439e.rlib,libadler-7aedc26c436dcf89.rlib,libunwind-6894ef15dd7af7e2.rlib,libcfg_if-ba26a0ba536098e8.rlib,liblibc-b59fef2f8415fb32.rlib,liballoc-02cde6970d60cd6e.rlib,librustc_std_workspace_core-7be09d7d9cceb6cc.rlib,libcore-3b064ddc3534a7da.rlib,libcompiler_builtins-d01b9ff4c95c3b9d.rlib}" "-Wl,-Bdynamic" "-lR" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/data/gannet/ripley/R/R-devel/lib" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/RtmpJT063I/working_dir/RtmpfJtxmo/file24919175766382/target/debug/deps/librextendr31.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" = note: some arguments are omitted. use `--verbose` to show all linker arguments = note: /usr/bin/ld: cannot find -lR: No such file or directory collect2: error: ld returned 1 exit status Backtrace: ▆ 1. └─rextendr::rust_function(...) at test-use_dev_extendr.R:5:3 2. └─rextendr::rust_source(...) 3. └─rextendr:::invoke_cargo(...) 4. └─rextendr:::check_cargo_output(...) 5. └─rlang::abort(...) [ FAIL 28 | WARN 0 | SKIP 25 | PASS 98 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/12s] 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(rextendr) > > test_check("rextendr") Starting 2 test processes [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] ══ Skipped tests (61) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3', 'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3', 'test-source.R:71:3', 'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3' • `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3', 'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3', 'test-eval.R:119:3', 'test-extendr_function_options.R:2:3', 'test-extendr_function_options.R:27:3', 'test-extendr_function_options.R:42:3', 'test-extendr_function_options.R:50:3', 'test-extendr_function_options.R:56:3', 'test-extendr_function_options.R:64:3', 'test-extendr_function_options.R:76:5', 'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3', 'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3', 'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3', 'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3', 'test-name-override.R:2:3', 'test-optional-features.R:2:3', 'test-optional-features.R:19:3', 'test-optional-features.R:37:3', 'test-optional-features.R:44:3', 'test-optional-features.R:50:3', 'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3', 'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3', 'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3', 'test-use_dev_extendr.R:2:3' • `cargo license --help` is not available. (1): 'test-license_note.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ─── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ────────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] Error: Test failures Execution halted Flavor: r-release-macos-arm64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [28s/26s] 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(rextendr) > > test_check("rextendr") Starting 2 test processes [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] ══ Skipped tests (61) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3', 'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3', 'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3', 'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3' • `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3', 'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3', 'test-eval.R:119:3', 'test-extendr_function_options.R:2:3', 'test-extendr_function_options.R:27:3', 'test-extendr_function_options.R:42:3', 'test-extendr_function_options.R:50:3', 'test-extendr_function_options.R:56:3', 'test-extendr_function_options.R:64:3', 'test-extendr_function_options.R:76:5', 'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3', 'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3', 'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3', 'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3', 'test-name-override.R:2:3', 'test-optional-features.R:2:3', 'test-optional-features.R:19:3', 'test-optional-features.R:37:3', 'test-optional-features.R:44:3', 'test-optional-features.R:50:3', 'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3', 'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3', 'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3', 'test-use_dev_extendr.R:2:3' • `cargo license --help` is not available. (1): 'test-license_note.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ─── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ────────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] Error: Test failures Execution halted Flavor: r-release-macos-x86_64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/11s] 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(rextendr) > > test_check("rextendr") Starting 2 test processes [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] ══ Skipped tests (61) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3', 'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3', 'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3', 'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3' • `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3', 'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3', 'test-eval.R:119:3', 'test-extendr_function_options.R:2:3', 'test-extendr_function_options.R:27:3', 'test-extendr_function_options.R:42:3', 'test-extendr_function_options.R:50:3', 'test-extendr_function_options.R:56:3', 'test-extendr_function_options.R:64:3', 'test-extendr_function_options.R:76:5', 'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3', 'test-knitr-engine.R:26:3', 'test-name-override.R:2:3', 'test-make-module-macro.R:2:3', 'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3', 'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3', 'test-optional-features.R:2:3', 'test-optional-features.R:19:3', 'test-optional-features.R:37:3', 'test-optional-features.R:44:3', 'test-optional-features.R:50:3', 'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3', 'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3', 'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3', 'test-use_dev_extendr.R:2:3' • `cargo license --help` is not available. (1): 'test-license_note.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ─── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ────────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/24s] 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(rextendr) > > test_check("rextendr") Starting 2 test processes [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] ══ Skipped tests (61) ══════════════════════════════════════════════════════════ • On CRAN (23): 'test-clean.R:4:3', 'test-document.R:4:3', 'test-document.R:20:3', 'test-document.R:33:3', 'test-document.R:49:3', 'test-rust-sitrep.R:5:3', 'test-rust-sitrep.R:16:3', 'test-rust-sitrep.R:37:3', 'test-rust-sitrep.R:58:3', 'test-rust-sitrep.R:75:3', 'test-rust-sitrep.R:92:3', 'test-rust-sitrep.R:109:3', 'test-rust-sitrep.R:130:3', 'test-rust-sitrep.R:154:3', 'test-rust-sitrep.R:177:3', 'test-source.R:71:3', 'test-use_extendr.R:22:3', 'test-use_extendr.R:41:3', 'test-use_extendr.R:50:3', 'test-use_extendr.R:59:3', 'test-use_extendr.R:113:3', 'test-use_extendr.R:122:3', 'test-use_extendr.R:136:3' • `cargo --help` is not available. (37): 'test-eval.R:2:3', 'test-eval.R:20:3', 'test-eval.R:47:3', 'test-eval.R:75:3', 'test-eval.R:95:3', 'test-eval.R:119:3', 'test-extendr_function_options.R:2:3', 'test-extendr_function_options.R:27:3', 'test-extendr_function_options.R:42:3', 'test-extendr_function_options.R:50:3', 'test-extendr_function_options.R:56:3', 'test-extendr_function_options.R:64:3', 'test-extendr_function_options.R:76:5', 'test-extendr_function_options.R:93:5', 'test-knitr-engine.R:2:3', 'test-knitr-engine.R:26:3', 'test-make-module-macro.R:2:3', 'test-make-module-macro.R:66:3', 'test-make-module-macro.R:76:3', 'test-make-module-macro.R:103:3', 'test-make-module-macro.R:133:3', 'test-name-override.R:2:3', 'test-optional-features.R:2:3', 'test-optional-features.R:19:3', 'test-optional-features.R:37:3', 'test-optional-features.R:44:3', 'test-optional-features.R:50:3', 'test-source.R:2:3', 'test-source.R:47:3', 'test-source.R:54:3', 'test-source.R:62:3', 'test-source.R:95:3', 'test-source.R:104:3', 'test-source.R:115:3', 'test-source.R:129:3', 'test-source.R:136:3', 'test-use_dev_extendr.R:2:3' • `cargo license --help` is not available. (1): 'test-license_note.R:3:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cran-compliance.R:12:3'): vendor_pkgs() vendors dependencies ─── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs(path, quiet = TRUE) at test-cran-compliance.R:12:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-cran-compliance.R:28:3'): rextendr passes CRAN checks ────────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-cran-compliance.R:28:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) ── Error ('test-use_extendr.R:205:3'): `use_extendr()` passes R CMD check ────── <c_error/rlib_error_3_0/rlib_error/error/condition> Error in `c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, " )`: ! Native call to `processx_exec` failed Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, ...`: ! cannot start processx process 'cargo' (system error 2, No such file or directory) @unix/processx.c:613 (processx_exec) Backtrace: ▆ 1. ├─rextendr::vendor_pkgs() at test-use_extendr.R:205:3 2. │ ├─withr::with_dir(...) 3. │ │ └─base::force(code) 4. │ └─processx::run(...) 5. │ └─process$new(...) 6. │ └─processx (local) initialize(...) 7. │ └─processx:::process_initialize(...) 8. │ └─chain_call(...) 9. │ ├─base::withCallingHandlers(...) 10. │ └─base::do.call(".Call", list(.NAME, ...)) 11. └─base::.handleSimpleError(...) 12. └─h(simpleError(msg, call)) 13. └─throw_error(err, parent = e) [ FAIL 3 | WARN 0 | SKIP 61 | PASS 66 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64