镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

[R] Fix shellcheck errors in the r/tools/download_dependencies_R.sh #50824

Closed

Description

@hiroyuki-sato

Describe the enhancement requested

This is the sub issue #44748.

  • SC2086: Double quote to prevent globbing and word splitting.
shellcheck r/tools/download_dependencies_R.sh

In r/tools/download_dependencies_R.sh line 48:
  echo 'download.file("'${url}'", "'${out}'", quiet = TRUE)'
                        ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                    ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  echo 'download.file("'"${url}"'", "'"${out}"'", quiet = TRUE)'


In r/tools/download_dependencies_R.sh line 59:
  source ${SOURCE_DIR}/cpp/thirdparty/versions.txt
         ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean:
  source "${SOURCE_DIR}"/cpp/thirdparty/versions.txt

For more information:
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...

Component(s)

R

Activity

  1. added a commit that references this issue on Aug 12, 2026
  2. added this to the 26.0.0 milestone on Aug 12, 2026
  3. kou commented on Aug 12, 2026

    @kou
    Member

    Issue resolved by pull request 50825
    #50825

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions