Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Test failures from rbundler package check.
R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows"
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-redhat-linux-gnu (64-bit)
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.
> library(testthat)
> library(devtools)
>
> test_package("rbundler")
A developer can bundle all a package and it's dependencies. : * checking for file '/tmp/RtmpQDsVEj/rbundler.Rcheck/rbundler/tests/no-dependencies/DESCRIPTION' ... OK
* preparing 'nodependencies':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'nodependencies_0.1.tar.gz'
* installing *source* package 'nodependencies' ...
** help
No man pages found in package 'nodependencies'
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (nodependencies)
...trying URL 'http://cran.us.r-project.org/src/contrib/zoo_1.7-7.tar.gz'
Content type 'application/x-gzip' length 1240674 bytes (1.2 Mb)
opened URL
==================================================
downloaded 1.2 Mb
trying URL 'http://cran.us.r-project.org/src/contrib/xts_0.8-6.tar.gz'
Content type 'application/x-gzip' length 328604 bytes (320 Kb)
opened URL
==================================================
downloaded 320 Kb
trying URL 'http://cran.us.r-project.org/src/contrib/PerformanceAnalytics_1.0.4.4.tar.gz'
Content type 'application/x-gzip' length 1621745 bytes (1.5 Mb)
opened URL
==================================================
downloaded 1.5 Mb
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
Calls: local ... eval.parent -> eval -> eval -> eval -> eval -> source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'startup.Rs': No such file or directory
Execution halted
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
Calls: local ... eval.parent -> eval -> eval -> eval -> eval -> source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'startup.Rs': No such file or directory
Execution halted
Error in file(filename, "r", encoding = encoding) :
cannot open the connection
Calls: local ... eval.parent -> eval -> eval -> eval -> eval -> source -> file
In addition: Warning message:
In file(filename, "r", encoding = encoding) :
cannot open file 'startup.Rs': No such file or directory
Execution halted
The downloaded source packages are in
'/tmp/RtmpnFP04D/downloaded_packages'
* checking for file '/tmp/RtmpQDsVEj/rbundler.Rcheck/rbundler/tests/simple-dependencies/DESCRIPTION' ... OK
* preparing 'simpledependencies':
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files
* checking for empty or unneeded directories
* building 'simpledependencies_0.1.tar.gz'
ERROR: dependency 'PerformanceAnalytics' is not available for package 'simpledependencies'
* removing '/tmp/rbundler_build/1347552028.21272.simpledependencies.Rbundle/simpledependencies'
1..
1. Error: Bundling a package with dependencies creates a bundle directory with the project installed and all dependencies installed.
Command failed (1)
1: bundle(package$path, lib = lib, repos = c("http://cran.us.r-project.org"))
2: tryCatch({
temp_repositories <- repositories
temp_repositories["CRAN"] <- repos
options(repos = temp_repositories)
dir.create(lib, recursive = TRUE, showWarnings = FALSE)
.libPaths(c(lib, .libPaths()))
message("Bundling package ", pkg, " dependencies into library ", lib)
install(pkg, ...)
}, finally = {
options(repos = repositories)
})
3: tryCatchList(expr, classes, parentenv, handlers)
4: install(pkg, ...)
5: R(paste("CMD INSTALL ", shQuote(built_path), " ", opts, sep = ""))
6: in_dir(path, system_check(r_path, options, env, ...))
7: force(code)
8: system_check(r_path, options, env, ...)
9: stop("Command failed (", res, ")", call. = FALSE)
Error: Test failures
In addition: Warning messages:
1: In install.packages(deps) :
installation of package 'zoo' had non-zero exit status
2: In install.packages(deps) :
installation of package 'xts' had non-zero exit status
3: In install.packages(deps) :
installation of package 'PerformanceAnalytics' had non-zero exit status
Execution halted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.