[Rd] Small patch to packages.R

From: Chris Masters <christopher.masters_at_gmail.com>
Date: Fri, 06 Nov 2009 14:49:54 +0000


Very small patch to packages.R

install.packages on an internal package repository that worked with 2.9 failed in 2.10

Problem:
> available.packages(contriburl="http://url.to.my/repo")
Error in f(res) : invalid subscript type 'list'

This occurred because the PACKAGES file had no dependency on R in the Depends field on any of the packages. Got around it by adding "Depends: R (>=2.7.0)" to the packages but it was still a regression from 2.9 behaviour.

Cheers

Chris



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat 07 Nov 2009 - 13:34:29 GMT

This archive was generated by hypermail 2.2.0 : Sat 07 Nov 2009 - 15:20:21 GMT