- using R Under development (unstable) (2018-04-18 r74618)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘rv/DESCRIPTION’ ... OK
- this is package ‘rv’ version ‘2.3.2’
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘rv’ can be installed ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... NOTE
Found the following apparent S3 methods exported but not registered:
[.rv [.rvfactor [.rvsummary [<-.rv [<-.rvsummary cbind.rv rbind.rv
See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
manual.
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [11s/17s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... NOTE
S3 methods shown with full name in documentation object 'cbind.rv':
‘cbind.rv’ ‘rbind.rv’
The \usage entries for S3 methods should use the \method markup and not
their full name.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... ERROR
Running examples in ‘rv-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rvdiscrete
> ### Title: Generate Random Vectors from a Discrete Sampling Model
> ### Aliases: rvdiscrete
> ### Keywords: classes
>
> ### ** Examples
>
> # 8 people draw a number each from 1..10 with replacement.
> # What is the probability that the highest number of the eight is "10"?
> u <- rvdiscrete(n=8, x=1:10) # 8 iid variables from the discrete uniform 1:10.
> Pr(max(u)==10)
[1] 0.58
> # What is the probability that the person with the 3rd smallest number
> # has at least "3"?
> s <- sort(u) # order distribution
> Pr(s[3]>=3)
Error in is.rv(x) : (list) object cannot be coerced to type 'double'
Calls: Pr -> is.logical.rv -> is.rv
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [1s/1s] WARNING
Error in re-building vignettes:
...
Loading required package: parallel
Error: processing vignette ‘rv-doc.Rnw’ failed with diagnostics:
chunk 11
Error in -x[1] : invalid argument to unary operator
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 1 WARNING, 2 NOTEs