R Development Page
MSOfficeUtil log file (check_x86_64_windows)
* using log directory 'R:/run/building/build_2015-05-26-14-07/RF_PKG_CHECK/PKGS/MSOfficeUtil.Rcheck'
* using R version 3.2.0 Patched (2015-05-22 r68399)
* using platform: x86_64-w64-mingw32 (64-bit)
* using session charset: ISO8859-1
* using option '--as-cran'
* checking for file 'MSOfficeUtil/DESCRIPTION' ... OK
* this is package 'MSOfficeUtil' version '0.8.3'
* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Steven Novick '
New submission
Strong dependencies not in mainstream repositories:
RDCOMClient
The Title field should be in title case, current version then in title case:
'Read from and write to Excel, Save graphs into PowerPoint'
'Read from and Write to Excel, Save Graphs into PowerPoint'
* checking package namespace information ... OK
* checking package dependencies ... NOTE
No repository set, so cyclic dependency check skipped
* 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 'MSOfficeUtil' can be installed ... OK
* checking installed package size ... OK
* checking package 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 ... NOTE
'library' or 'require' calls to packages already attached by Depends:
'RDCOMClient' 'lattice'
Please remove these calls from your code.
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... NOTE
NB: .First.lib is obsolete and will not be used in R >= 3.0.0
File 'MSOfficeUtil/R/zzz.R':
.First.lib calls:
library(RDCOMClient)
library(lattice)
Package startup functions should not change the search path.
See section 'Good practice' in '?.onAttach'.
as.chron.excelDate: no visible global function definition for 'chron'
as.excelData.chron: no visible global function definition for 'origin'
as.excelData.chron: no visible global function definition for
'origin<-'
exportSingleGraphToPowerPoint: no visible global function definition
for 'lset'
exportSingleGraphToWord: possible error in tempfile("plot", ".emf", sep
= ""): unused argument (sep = "")
exportSingleGraphToWord: no visible global function definition for
'lset'
exportSingleGraphToWord: no visible binding for global variable 'doc'
exportSingleGraphToWord: no visible binding for global variable 'i'
* 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 'MSOfficeUtil-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: exportGraphToPowerPoint
> ### Title: Export Graph(s) to MS-PowerPoint
> ### Aliases: exportGraphToPowerPoint
> ### Keywords: IO
>
> ### ** Examples
>
> p1 = xyplot(rnorm(10)~1:10, main="Plot 1")
> p2 = xyplot(rnorm(10)~(-10:(-1)), col="red", type="l",
+ main="Plot 2", xlab="Hi there")
>
> exportGraphToPowerPoint(list(p1, p2), "C:/MyTest1.ppt")
Warning in getCOMInstance(name, force = TRUE, silent = TRUE) :
Couldn't get clsid from the string
Error: Invalid class string
Execution halted
* checking PDF version of manual ... OK
* DONE
Status: 1 ERROR, 4 NOTEs
See
'R:/run/building/build_2015-05-26-14-07/RF_PKG_CHECK/PKGS/MSOfficeUtil.Rcheck/00check.log'
for details.
Run time: 31.21 seconds.