R Under development (unstable) (2026-07-14 r90255 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > library(testthat) > library(asleep) > > testthat::test_check("asleep") [ FAIL 0 | WARN 0 | SKIP 2 | PASS 64 ] ══ Skipped tests (2) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-sl_read.R:1:1' • suppressWarnings(asleep_check()) is not TRUE (1): 'test-asleep.R:12:3' [ FAIL 0 | WARN 0 | SKIP 2 | PASS 64 ] > > cleanup_uv_lock_files = function(paths = c(".", tempdir(), dirname(tempdir()))) { + paths = unique(normalizePath(paths, winslash = "/", mustWork = FALSE)) + paths = paths[dir.exists(paths)] + + lock_files = unlist(lapply(paths, function(path) { + c( + list.files( + path = path, + pattern = "^uv.*[.]lock$", + full.names = TRUE, + recursive = TRUE, + include.dirs = FALSE + ), + list.files( + path = path, + pattern = "^torch-shm-dir.*", + full.names = TRUE, + recursive = TRUE, + include.dirs = FALSE + ) + ) + })) + lock_files = unique(lock_files[file.exists(lock_files)]) + + if (length(lock_files) > 0) { + invisible(file.remove(lock_files)) + } else { + invisible(logical()) + } + } > cleanup_uv_lock_files() > > proc.time() user system elapsed 3.31 2.89 31.36