CRAN Package Check Results for Package packrat

Last updated on 2026-06-07 07:50:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.3 9.25 60.36 69.61 OK
r-devel-linux-x86_64-debian-gcc 0.9.3 6.01 44.16 50.17 ERROR
r-devel-linux-x86_64-fedora-clang 0.9.3 15.00 94.45 109.45 OK
r-devel-linux-x86_64-fedora-gcc 0.9.3 15.00 106.29 121.29 OK
r-devel-windows-x86_64 0.9.3 9.00 81.00 90.00 OK
r-patched-linux-x86_64 0.9.3 8.07 56.99 65.06 OK
r-release-linux-x86_64 0.9.3 7.53 57.37 64.90 OK
r-release-macos-arm64 0.9.3 2.00 151.00 153.00 OK
r-release-macos-x86_64 0.9.3 6.00 209.00 215.00 OK
r-release-windows-x86_64 0.9.3 12.00 82.00 94.00 OK
r-oldrel-macos-arm64 0.9.3 OK
r-oldrel-macos-x86_64 0.9.3 6.00 226.00 232.00 OK
r-oldrel-windows-x86_64 0.9.3 12.00 101.00 113.00 OK

Check Details

Version: 0.9.3
Check: tests
Result: ERROR Running ‘test-cranlike-repositories.R’ [2s/3s] Running ‘testthat.R’ [5s/7s] Running the tests in ‘tests/test-cranlike-repositories.R’ failed. Complete output: > library(packrat) > > (function() { + + # Disable R_TESTS within this scope (we don't want the R + # subprocess to attempt to call startup.Rs) + R_TESTS <- Sys.getenv("R_TESTS", unset = NA) + if (!is.na(R_TESTS)) { + Sys.unsetenv("R_TESTS") + on.exit(Sys.setenv(R_TESTS = R_TESTS), add = TRUE) + } + # Force tar to internal to avoid xattr errors on macOS when building and + # installing our test packages. The default macOS tar binary produces + # AppleDouble archives. + TAR <- Sys.getenv("TAR", unset = NA) + Sys.setenv(TAR = "internal") + if (!is.na(TAR)) { + on.exit(Sys.setenv(TAR = TAR), add = TRUE) + } else { + on.exit(Sys.unsetenv("TAR"), add = TRUE) + } + + dir <- tempdir() + owd <- setwd(dir) + on.exit(setwd(owd), add = TRUE) + + # Save repos + repos <- getOption("repos") + on.exit(options(repos = repos), add = TRUE) + + # Create the local repo + localCRAN <- file.path(dir, "sushi") + packrat::repos_create(localCRAN) + on.exit(unlink(localCRAN, recursive = TRUE), add = TRUE) + + # Use only the 'sushi' repository + options(repos = getOption("repos")["sushi"]) + + # Create an example package. + env <- new.env(parent = emptyenv()) + env$sashimi <- function() {} + suppressMessages( + utils::package.skeleton("sashimi", path = dir, environment = env) + ) + on.exit(unlink(file.path(dir, "sashimi"), recursive = TRUE), add = TRUE) + + # tidy up the broken package + unlink(file.path(dir, "sashimi/man"), recursive = TRUE) + + # Try uploading the package from the directory itself (requires building) + message("\nBuilding sashimi:\n") + packrat::repos_upload(file.path(dir, "sashimi"), "sushi") + + # Try building and uploading a tarball + system2(file.path(R.home("bin"), "R"), + c("--vanilla", + "CMD", + "build", + file.path(dir, "sashimi")), + env = c(COPYFILE_DISABLE = "1")) + tarball <- list.files(dir, pattern = "\\.tar\\.gz$")[[1]] + packrat::repos_upload(file.path(dir, tarball), "sushi") + + # Try installing the package as normal + tempLib <- file.path(dir, "library") + if (!file.exists(tempLib)) { + dir.create(tempLib) + on.exit(unlink(tempLib, recursive = TRUE), add = TRUE) + } + install.packages("sashimi", lib = tempLib, type = "source") + + # avoid bogus warning from R CMD check + eval(call("library", "sashimi", lib.loc = tempLib)) + detach("package:sashimi", unload = TRUE) + + })() Local CRAN repository 'sushi' created at: - '/tmp/Rtmp1FxyY5/sushi' Building sashimi: '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/bin/R' --vanilla CMD build \ '/tmp/Rtmp1FxyY5/sashimi-PKtLJZ8LfwUwiytf' --no-manual --no-resave-data * checking for file ‘/tmp/Rtmp1FxyY5/sashimi-PKtLJZ8LfwUwiytf/DESCRIPTION’ ... OK * preparing ‘sashimi’: * checking DESCRIPTION meta-information ... OK * checking for LF line-endings in source and make files and shell scripts * checking for empty or unneeded directories * building ‘sashimi_1.0.tar.gz’ Package 'sashimi_1.0.tar.gz' successfully uploaded. sh: 1: 1: not found Package 'sashimi_1.0.tar.gz' successfully uploaded. * installing *source* package ‘sashimi’ ... ** this is package ‘sashimi’ version ‘1.0’ ** using staged installation ** R ** byte-compile and prepare package for lazy loading ** help No man pages found in package ‘sashimi’ *** installing help indices ** building package indices Warning in file(file.path(pd, "dummy_for_check"), "w") : cannot open file '/tmp/RtmpoGTaNT/RLIBS_2d390273be95c2/MASS/dummy_for_check': No space left on device Error in file(file.path(pd, "dummy_for_check"), "w") : cannot open the connection * removing ‘/tmp/Rtmp1FxyY5/library/sashimi’ Error in library("sashimi", lib.loc = "/tmp/Rtmp1FxyY5/library") : there is no package called 'sashimi' Calls: <Anonymous> -> eval -> eval -> library In addition: Warning messages: 1: In system2(file.path(R.home("bin"), "R"), c("--vanilla", "CMD", : error in running command 2: In install.packages("sashimi", lib = tempLib, type = "source") : installation of package 'sashimi' had non-zero exit status Execution halted Flavor: r-devel-linux-x86_64-debian-gcc