[Rd] R-2-13-alpha invalid subscript when checking for unstated dependencies

From: Martin Morgan <mtmorgan_at_fhcrc.org>
Date: Sun, 27 Mar 2011 21:06:40 -0700


R version 2.13.0 alpha (2011-03-27 r55091)

This error occurs when R CMD check'ing a Bioconductor package:

It is because the author has a sub-expression to 'require' that exceeds the width.cutoff=60L default argument of deparse, e.g.,

require(gsub("onereallyquitelongstring",

              "anotherreallyquitelongstring",
               variablename),
         character.only=TRUE)

This results in a list rather than vector in (one of) tools::QC.R:4106 or 4258.

-- 
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109

Location: M1-B861
Telephone: 206 667-2793

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 28 Mar 2011 - 04:13:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Mar 2011 - 14:30:39 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive