- using R Under development (unstable) (2018-04-22 r74625)
- using platform: x86_64-pc-linux-gnu (64-bit)
- using session charset: UTF-8
- checking for file ‘qrfactor/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘qrfactor’ version ‘1.4’
- 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 ‘qrfactor’ 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:
plot.qrfactor print.qrfactor qrfactor.default summary.qrfactor
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 ... [21s/31s] NOTE
plot.qrfactor : sp.label: no visible global function definition for
‘coordinates’
plot.qrfactor: no visible global function definition for ‘slot’
plot.qrfactor: no visible global function definition for ‘slot<-’
plot.qrfactor: no visible global function definition for ‘text’
plot.qrfactor: no visible global function definition for ‘layout’
plot.qrfactor: no visible global function definition for ‘kmeans’
plot.qrfactor: no visible global function definition for ‘polygon’
plot.qrfactor: no visible global function definition for ‘points’
plot.qrfactor: no visible global function definition for ‘mahalanobis’
plot.qrfactor: no visible global function definition for ‘qqplot’
plot.qrfactor: no visible global function definition for ‘qchisq’
plot.qrfactor: no visible global function definition for ‘ppoints’
plot.qrfactor: no visible global function definition for ‘spplot’
plot.qrfactor: no visible global function definition for ‘bpy.colors’
plot.qrfactor: no visible global function definition for ‘gray.colors’
plot.qrfactor: no visible global function definition for ‘aggregate’
plot.qrfactor: no visible global function definition for ‘aov’
plot.qrfactor: no visible global function definition for ‘kruskal.test’
plot.qrfactor: no visible global function definition for ‘dist’
plot.qrfactor: no visible global function definition for ‘hclust’
plot.qrfactor: no visible global function definition for ‘rect.hclust’
plot.qrfactor: no visible global function definition for ‘na.omit’
plot.qrfactor: no visible global function definition for ‘readOGR’
plot.qrfactor: no visible global function definition for ‘wilcox.test’
plot.qrfactor: no visible global function definition for ‘TukeyHSD’
rq: no visible global function definition for ‘readOGR’
rq: no visible global function definition for ‘slot’
rq: no visible global function definition for ‘read.csv’
rq: no visible global function definition for ‘read.table’
rq: no visible global function definition for ‘slot<-’
rq: no visible global function definition for ‘na.omit’
rq: no visible global function definition for ‘cor’
rq: no visible global function definition for ‘kmeans’
Undefined global functions or variables:
TukeyHSD aggregate aov bpy.colors coordinates cor dist gray.colors
hclust kmeans kruskal.test layout mahalanobis na.omit points polygon
ppoints qchisq qqplot read.csv read.table readOGR rect.hclust slot
slot<- spplot text wilcox.test
Consider adding
importFrom("grDevices", "gray.colors")
importFrom("graphics", "layout", "points", "polygon", "text")
importFrom("methods", "slot", "slot<-")
importFrom("stats", "TukeyHSD", "aggregate", "aov", "cor", "dist",
"hclust", "kmeans", "kruskal.test", "mahalanobis",
"na.omit", "ppoints", "qchisq", "qqplot", "rect.hclust",
"wilcox.test")
importFrom("utils", "read.csv", "read.table")
to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
contains 'methods').
- 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 ... [4s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/9s] ERROR
Running ‘MDS.R’ [4s/8s]
Running the tests in ‘tests/MDS.R’ failed.
Complete output:
> library(qrfactor)
Loading required package: mvoutlier
Loading required package: sgeostat
sROC 0.1-2 loaded
Loading required package: mgraph
Loading required package: rgdal
Loading required package: sp
rgdal: version: 1.2-18, (SVN revision 718)
Geospatial Data Abstraction Library extensions to R successfully loaded
Loaded GDAL runtime: GDAL 2.2.4, released 2018/03/19
Path to GDAL shared files: /usr/share/gdal/2.2
GDAL binary built with GEOS: TRUE
Loaded PROJ.4 runtime: Rel. 5.0.1, April 1st, 2018, [PJ_VERSION: 501]
Path to PROJ.4 shared files: (autodetected)
Linking to sp version: 1.2-7
Loading required package: pvclust
Loading required package: cluster
Loading required package: maptools
Checking rgeos availability: FALSE
Note: when rgeos is not available, polygon geometry computations in maptools depend on gpclib,
which has a restricted licence. It is disabled by default;
to enable gpclib, type gpclibPermit()
> #data must be numeric, avoid using categorical and characters
> data(UScereal, package="MASS")
> variables=c("calories","protein","sodium","carbo","sugars","potassium")
> data=UScereal[variables]
> #Multi dimensional scaling can be simulated as:
> plot(qrfactor(data,scale='n'),plot="r",type="mds",factors=c(1,2))
Error in UseMethod("qrfactor") :
no applicable method for 'qrfactor' applied to an object of class "data.frame"
Calls: plot -> qrfactor
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 3 NOTEs