Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

failure if pkgPath is not valid #1026

Closed
@sgsokol

Description

@sgsokol

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:

pkgPath<- find.package(package,NULL,quiet=TRUE)

returns character(0) the .linkingToIncludes() ends up with an error "argument is of length zero" in the lineif (file.exists(pkgHeaderPath)) {. It would be great to add a test forlength(pkgPath) and if it is zero, to stop with a meaningfull error message "package 'pkg' is not found" or alike.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp