Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#3433 - R project CRAN mirror path is wrong

Attached to Project: Arch Linux
Opened by Norman Su (normsu) - Sunday, 06 November 2005, 07:37 GMT
Last edited by arjan timmerman (blaasvis) - Sunday, 06 November 2005, 10:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Libraries in R can be fetched online and installed automatically in the R environment. See page 13 of http://cran.r-project.org/doc/manuals/R-admin.pdf

Running chooseCRANmirror() in R results in the following error:
> chooseCRANmirror()
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file '/home/damir/cvsARCH/extra/science/r/pkg/usr/lib/R/doc/CRAN_mirrors.csv', reason 'No such file or directory'

The above path should point to the actual installation directory of R, rather than the directory where the package was created.
This task depends upon

Closed by  Damir Perisa (damir.perisa)
Wednesday, 16 November 2005, 22:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanx for reporting and patience ;-)
Comment by Norman Su (normsu) - Sunday, 06 November 2005, 07:41 GMT
Sorry, this should be in extra and here is a link to the package: http://www.archlinux.org/packages.php?id=3819
Comment by Damir Perisa (damir.perisa) - Sunday, 06 November 2005, 15:06 GMT
thanx for reporting this ... i will fix this asap
Comment by Norman Su (normsu) - Wednesday, 16 November 2005, 07:01 GMT
I added the following to the PKGBUILD and it seems to be working:

sed -i -e 's@^R_SHARE_DIR=.*$@R_SHARE_DIR=/usr/lib/R/share@' $startdir/pkg/usr/bin/R
sed -i -e 's@^R_INCLUDE_DIR=.*$@R_INCLUDE_DIR=/usr/lib/R/include@' $startdir/pkg/usr/bin/R
sed -i -e 's@^R_DOC_DIR=.*$@R_DOC_DIR=/usr/lib/R/doc@' $startdir/pkg/usr/bin/R

Thanks.
Comment by Damir Perisa (damir.perisa) - Wednesday, 16 November 2005, 17:05 GMT
<tobecensored>shit</tobecensored> ... sorry ... i fixed this in a very similar way some time ago but forgot to commit the changes and rerelease the package ... university takes more time now and i have to concentrate when doing this things ...

next time i write i will do something asap and nothing happens, please remind me that nothing happened ;-)

when i come home, i will rerelease it ...
Comment by Norman Su (normsu) - Wednesday, 16 November 2005, 19:58 GMT
No problem--I know how school can sap one's time =)
Comment by Damir Perisa (damir.perisa) - Wednesday, 16 November 2005, 22:50 GMT

Loading...