Mailinglist Archive: opensuse-bugs (4775 mails)
< Previous | Next > |
[Bug 1049503] New: R-base spec file is missing BuildRequires for zip and unzip
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 19 Jul 2017 18:08:56 +0000
- Message-id: <bug-1049503-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1049503
Bug ID: 1049503
Summary: R-base spec file is missing BuildRequires for zip and
unzip
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: All
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: joncfoo@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/59.0.3071.109 Safari/537.36
Build Identifier:
Currently, attempting to install packages in R will error if the source is a
zip file (very common). R-base should depend on `zip` and `unzip` utilities.
When R is built, if it notices the zip and unzip commands are in the PATH it
sets the following environment variables for the R interpreter: R_UNZIPCMD and
R_ZIPCMD
Since R-base does not depend on `zip` and `unzip`, R_UNZIPCMD and R_ZIPCMD are
never set and thus packages fail to install.
Reproducible: Always
Steps to Reproduce:
from URL https://api.github.com/repos/rstudio/rsconnect/zipball/master
Installation failed: error in running command
Actual Results:
R fails to install the package because it fails to find the `unzip` utility
Expected Results:
It should install the package
Workaround:
- install `zip`
- install `unzip`
- set the R_UNZIPCMD and R_ZIPCMD to values in ~/.Renviron fixes the issue
R_ZIPCMD=/usr/bin/zip
--
You are receiving this mail because:
You are on the CC list for the bug.
Bug ID: 1049503
Summary: R-base spec file is missing BuildRequires for zip and
unzip
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: All
OS: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Development
Assignee: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
Reporter: joncfoo@xxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/59.0.3071.109 Safari/537.36
Build Identifier:
Currently, attempting to install packages in R will error if the source is a
zip file (very common). R-base should depend on `zip` and `unzip` utilities.
When R is built, if it notices the zip and unzip commands are in the PATH it
sets the following environment variables for the R interpreter: R_UNZIPCMD and
R_ZIPCMD
Since R-base does not depend on `zip` and `unzip`, R_UNZIPCMD and R_ZIPCMD are
never set and thus packages fail to install.
Reproducible: Always
Steps to Reproduce:
RDownloading GitHub repo rstudio/rsconnect@master
install.packages("devtools")
devtools::install_github("rstudio/rsconnect")
from URL https://api.github.com/repos/rstudio/rsconnect/zipball/master
Installation failed: error in running command
Actual Results:
R fails to install the package because it fails to find the `unzip` utility
Expected Results:
It should install the package
Workaround:
- install `zip`
- install `unzip`
- set the R_UNZIPCMD and R_ZIPCMD to values in ~/.Renviron fixes the issue
cat ~/.RenvironR_UNZIPCMD=/usr/bin/unzip
R_ZIPCMD=/usr/bin/zip
--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous | Next > |