Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test.data.table expects xts package to be installed #1560

Closed
jangorecki opened this issue Feb 28, 2016 · 0 comments
Closed

test.data.table expects xts package to be installed #1560

jangorecki opened this issue Feb 28, 2016 · 0 comments
Assignees

Comments

@jangorecki
Copy link
Member

Steps to reproduce starting with docker to ensure clean environment (remove.packages("xts") would probably works too instead of docker run).

docker run --net=host -it jangorecki/r-base-dev
install.packages("data.table", repos = "https://Rdatatable.github.io/data.table")
library(data.table)
test.data.table()
#...
#Running test id 1559.1     Test 1559.1 Error in loadNamespace(name) : there is no package called ‘xts’
#Error in eval(expr, envir, enclos) : 
#  1 error out of 4418 (lastID=1602.2, endian=little, sizeof(long double)==16) in inst/tests/tests.Rraw on Sun Feb 28 19:56:02 2016. Search tests.Rraw for test number 1559.1.

Wrapping into requireNamespace should be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant