[Rd] Argument 'dim' misspelled in error message

Kurt Hornik Kurt@Hornik @ending from wu@@c@@t
Sat Sep 1 14:42:08 CEST 2018


>>>>> Hervé Pagès writes:

Thanks: fixed in the trunk with c75223.

Best
-k

> Hi,
> The following error message misspells the name of
> the 'dim' argument:

>> array(integer(0), dim=integer(0))
>    Error in array(integer(0), dim = integer(0)) :
>      'dims' cannot be of length 0

> The name of the argument is 'dim' not 'dims':

>> args(array)
>    function (data = NA, dim = length(data), dimnames = NULL)
>    NULL

> Cheers,
> H.

> -- 
> Hervé Pagès

> Program in Computational Biology
> Division of Public Health Sciences
> Fred Hutchinson Cancer Research Center
> 1100 Fairview Ave. N, M1-B514
> P.O. Box 19024
> Seattle, WA 98109-1024

> E-mail: hpages using fredhutch.org
> Phone:  (206) 667-5791
> Fax:    (206) 667-1319

> ______________________________________________
> R-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list