- using R version 3.5.0 Patched (2018-04-25 r74642)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘mathgraph/DESCRIPTION’ ... OK
- this is package ‘mathgraph’ version ‘0.9-11’
- 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 ‘mathgraph’ can be installed ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Malformed Description field: should contain one or more complete sentences.
- 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:
[.mathgraph [<-.mathgraph adjamat.mathgraph alldirected.default
alldirected.mathgraph c.mathgraph getpath.adjamat getpath.default
getpath.incidmat getpath.mathgraph incidmat.mathgraph
length.mathgraph names.mathgraph names<-.mathgraph plot.mathgraph
print.mathgraph unique.mathgraph
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 ... [5s/7s] NOTE
plot.mathgraph: no visible global function definition for ‘plot’
plot.mathgraph: no visible global function definition for ‘box’
plot.mathgraph: no visible global function definition for ‘segments’
plot.mathgraph: no visible global function definition for ‘arrows’
plot.mathgraph: no visible global function definition for ‘text’
Undefined global functions or variables:
arrows box plot segments text
Consider adding
importFrom("graphics", "arrows", "box", "plot", "segments", "text")
to your NAMESPACE file.
Found the following assignments to the global environment:
File ‘mathgraph/R/mathgraph.R’:
assign(Inames[i], this.val, pos = 1)
- 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 ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... ERROR
Running examples in ‘mathgraph-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: adjamat
> ### Title: Adjacency Matrix of a Mathematical Graph
> ### Aliases: adjamat adjamat.mathgraph is.adjamat
> ### Keywords: math
>
> ### ** Examples
>
> adjamat(mathgraph(~ 1:3 * 3:5, dir=TRUE))
Error in UseMethod("adjamat") :
no applicable method for 'adjamat' applied to an object of class "mathgraph"
Calls: adjamat
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 3 NOTEs