* using log directory 'd:/Rcompile/CRANpkg/local/2.10/solaR.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'solaR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'solaR' version '0.20' * package encoding: UTF-8 * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'solaR' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... NOTE Found the following files with non-ASCII characters: AllMethods.R NmgSFB.R Portable packages must use only ASCII characters in their R code, except perhaps in comments. * 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 name space can be loaded with stated dependencies ... OK * checking for unstated 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 ... NOTE HQCurve: no visible binding for global variable 'fb' HQCurve: no visible binding for global variable 'Q' HQCurve: no visible binding for global variable 'x' HQCurve: no visible binding for global variable 'y' HQCurve: no visible binding for global variable 'group.value' NmgPVPS: no visible binding for global variable 'Pnom' NmgPVPS: no visible binding for global variable 'group.value' * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented S4 methods: generic 'plot' and siglist 'Shade,missing' All user-level objects in a package (including S4 classes and methods) should have documentation entries. See the chapter 'Writing R documentation files' in manual 'Writing R Extensions'. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking data for non-ASCII characters ... OK * checking examples ... ERROR Running examples in 'solaR-Ex.R' failed. The error most likely occurred in: > ### * optimShd > > flush(stderr()); flush(stdout()) > > ### Name: A7_optimShd > ### Title: Shadows calculation for a set of distances between elements of a > ### PV grid connected plant. > ### Aliases: optimShd > ### Keywords: utilities constructors > > ### ** Examples > > library(lattice) > library(latticeExtra) > > lat=37.2; > G0dm=c(2766, 3491, 4494, 5912, 6989, 7742, 7919, 7027, 5369, 3562, 2814, + 2179) > Ta=c(10, 14.1, 15.6, 17.2, 19.3, 21.2, 28.4, 29.9, 24.3, 18.2, 17.2, 15.2) > prom=list(G0dm=G0dm, Ta=Ta) > > ###Two-axis trackers > struct2x=list(W=23.11, L=9.8, Nrow=2, Ncol=8) > dist2x=list(Lew=c(30,50),Lns=c(20,50)) > > #Monthly averages > ShdM2x<-optimShd(lat=lat, prom=prom, modeTrk='two', + modeShd=c('area','prom'), distances=dist2x, struct=struct2x, res=5) | |== | 3% | |==== | 6% | |====== | 8% | |======== | 11% | |========== | 14% | |============ | 17% | |============== | 19% | |================ | 22% | |================== | 25% | |=================== | 28% | |===================== | 31% | |======================= | 33% | |========================= | 36% | |=========================== | 39% | |============================= | 42% | |=============================== | 44% | |================================= | 47% | |=================================== | 50% | |===================================== | 53% | |======================================= | 56% | |========================================= | 58% | |=========================================== | 61% | |============================================= | 64% | |=============================================== | 67% | |================================================= | 69% | |=================================================== | 72% | |==================================================== | 75% | |====================================================== | 78% | |======================================================== | 81% | |========================================================== | 83% | |============================================================ | 86% | |============================================================== | 89% | |================================================================ | 92% | |================================================================== | 94% | |==================================================================== | 97% | |======================================================================| 100% > > plot(ShdM2x) Error in seq.default(min(FS.m), max(FS.m), l = n + 1) : object 'n' not found Calls: plot -> plot -> .local -> seq -> seq.default Execution halted