* using log directory 'd:/Rcompile/CRANpkg/local/3.5/barsurf.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'barsurf/DESCRIPTION' ... OK * this is package 'barsurf' version '0.4.0' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'barsurf' can be installed ... OK * checking installed package size ... 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 ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [11s] NOTE plot_bar: no visible global function definition for 'str2lang' plot_cfield: no visible global function definition for 'str2lang' plot_cfield_3d: no visible global function definition for 'str2lang' plot_dfield: no visible global function definition for 'str2lang' plot_surface: no visible global function definition for 'str2lang' plot_tricontour: no visible global function definition for 'str2lang' plot_trisurface: no visible global function definition for 'str2lang' plot_vecfield: no visible global function definition for 'str2lang' Undefined global functions or variables: str2lang * checking Rd files ... OK * checking Rd metadata ... 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 line endings in Makefiles ... OK * checking for GNU extensions in Makefiles ... OK * checking include directives in Makefiles ... 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 'barsurf-Ex.R' failed The error most likely occurred in: > ### Name: 01_scalar_fields_discretely-spaced > ### Title: Discretely-Spaced Scalar Fields > ### Aliases: plot_dfield plot_bar plot_matrix plotf_dfield plotf_bar > > ### ** Examples > > fv = matrix (sample (1:100), 10, 10) > > plot_dfield (,,fv) Error in str2lang(color.fit) : could not find function "str2lang" Calls: plot_dfield -> eval Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [1s] WARNING Error in re-building vignettes: ... Error: processing vignette 'barsurf.Rnw' failed with diagnostics: chunk 6 Error in str2lang(color.fit) : could not find function "str2lang" Execution halted * checking PDF version of manual ... OK * DONE Status: 1 ERROR, 1 WARNING, 1 NOTE