Running ‘testthat.R’ [527s/468s]
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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcGDGSXK/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcGDGSXK/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcmJJjCu/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcmJJjCu/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcxaV0vE/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcxaV0vE/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcx8GOzS/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcx8GOzS/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcJd2ehK/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcJd2ehK/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcafPunx/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcafPunx/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcGq3tJA/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcGq3tJA/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcDnBUdL/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcDnBUdL/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcvZVDAa/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcvZVDAa/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcLdyBoQ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcLdyBoQ/symbols.o" "<32 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustccHTEj3/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustccHTEj3/symbols.o" "<38 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcbsYQhj/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcbsYQhj/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcw7SYG7/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcw7SYG7/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcZSJKQY/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcZSJKQY/symbols.o" "<41 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcMX2AeU/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcMX2AeU/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustc0yGyGo/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustc0yGyGo/symbols.o" "<33 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcpTJy3q/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcpTJy3q/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcniGklP/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcniGklP/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcn5z1l9/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcn5z1l9/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustctfpGzP/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustctfpGzP/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustce2ongQ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustce2ongQ/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustc6JPW2I/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustc6JPW2I/symbols.o" "<31 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcNDybHr/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcNDybHr/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustcKCI91F/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustcKCI91F/symbols.o" "<21 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/Rtmpotl4vR/working_dir/RtmpdtYfqQ/file37c80b7d9de0dd/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/bin:/usr/local/texbin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/share/Modules/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib64/openmpi/bin:/data/gannet/ripley/.cargo/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/Rtmpotl4vR/working_dir/rustc2iZaYZ/list" "-Wl,--no-undefined-version" "-m64" "/tmp/Rtmpotl4vR/working_dir/rustc2iZaYZ/symbols.o" "<30 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/tmp/Rtmpotl4vR/working_dir/RtmpTlmiJI/file37c81b605ee1b8/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/Rtmpotl4vR/working_dir/RtmpTlmiJI/file37c81b605ee1b8/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