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

Failure with old version of assertthat #128

Closed
stefanoborini opened this issue Sep 25, 2019 · 1 comment
Closed

Failure with old version of assertthat #128

stefanoborini opened this issue Sep 25, 2019 · 1 comment
Assignees
Milestone

Comments

@stefanoborini
Copy link

The following error occurs with

> miniCRAN::addLocalPackage("package.tar.gz", ".", ".")
Error: assert_that: assertion must return a logical value
> traceback()
9: stop("assert_that: assertion must return a logical value", call. = FALSE)
8: check_result(res)
7: see_if(..., env = env)
6: assert_that(is.character(f) && length(f) > 0, msg = sprintf("No files found in path with extension '%s'", 
       pattern))
5: .listFiles(pkgs = pkgs, path = pkgPath, type = t)
4: FUN(X[[i]], ...)
3: lapply(X = X, FUN = FUN, ...)
2: sapply(type, do_one)
1: miniCRAN::addLocalPackage("package.tar.gz", ".", ".")

This failure is due to assertthat version 0.1. It goes away by upgrading to 0.2.1. I suspect a fix is to require at least this version for assertthat in the description file.

@andrie andrie self-assigned this Jul 12, 2020
@andrie andrie added this to the v0.2.13 milestone Jul 12, 2020
@andrie
Copy link
Owner

andrie commented Jul 12, 2020

Thank you. I have specified a minimum version for assertthat

@andrie andrie closed this as completed Jul 12, 2020
andrie added a commit that referenced this issue Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants