R version 4.4.0 RC (2024-04-16 r86451 ucrt) -- "Puppy Cup" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(sacRebleu) > > test_check("sacRebleu") thread '' panicked at src\tokenizer.rs:15:51: called `Result::unwrap()` on an `Err` value: Os { code: 5, kind: PermissionDenied, message: "Zugriff verweigert" } note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace [ FAIL 1 | WARN 0 | SKIP 0 | PASS 41 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_bleu.R:94:3'): Test With Tokenizer ───────────────────────────── Error in `RTokenizer$from_file(path)`: from_file panicked. Backtrace: ▆ 1. ├─testthat::expect_vector(bleu_sentence(ref, cand)) at test_bleu.R:94:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sacRebleu::bleu_sentence(ref, cand) 5. └─tok::tokenizer$from_pretrained(tokenizer) 6. ├─tokenizer$new(RTokenizer$from_file(path)) 7. │ └─tok (local) initialize(...) 8. │ └─base::inherits(tokenizer, "RTokenizer") 9. └─RTokenizer$from_file(path) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 41 ] Error: Test failures Execution halted