-
-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Description
For some obscure reason, a variable pkgPath is returned as character(0) in my unit tests run on R-devel (win10) under CMD check (in interactive session they run OK, as well as on R-3.6.1). Anyway, if this line:
Line 964 in d6594ba
pkgPath <- find.package(package, NULL, quiet=TRUE) |
returns character(0) the .linkingToIncludes() ends up with an error "argument is of length zero" in the line
if (file.exists(pkgHeaderPath)) {
. It would be great to add a test for length(pkgPath)
and if it is zero, to stop with a meaningfull error message "package 'pkg' is not found" or alike.Metadata
Metadata
Assignees
Labels
No labels