Running 'test-cranlike-repositories.R' [175s]
  Running 'testthat.R' [8s]
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)
  +   }
  + 
  +   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
  +   system(paste("R --vanilla CMD build", file.path(dir, "sashimi")))
  +   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: 
  - "D:/temp/RtmpyQzQln/sushi"
  
  Building sashimi:
  
  "D:/RCompile/recent/R/bin/x64/R" --vanilla CMD build  \
    "D:\temp\RtmpyQzQln\sashimi-g2qGAeLsuNVx2zNN" --no-manual --no-resave-data 
  
  * checking for file 'D:\temp\RtmpyQzQln\sashimi-g2qGAeLsuNVx2zNN/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.
  * checking for file 'D:\temp\RtmpyQzQln/sashimi/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.
  * installing *source* package 'sashimi' ...
  ** 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
  ** testing if installed package can be loaded from temporary location
  ** testing if installed package can be loaded from final location
  ** testing if installed package keeps a record of temporary installation path
  * DONE (sashimi)
  > 
  > proc.time()
     user  system elapsed 
     0.78    0.26    4.76