* using log directory 'd:/Rcompile/CRANpkg/local/2.8/YourCast.Rcheck' * using R version 2.8.1 (2008-12-22) * using session charset: ISO8859-1 * checking for file 'YourCast/DESCRIPTION' ... OK * this is package 'YourCast' version '0.9-7' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'YourCast' 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 ... 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 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 reader: no visible global function definition for 'read.dta' readerlite: no visible global function definition for 'read.dta' threedimplot: no visible global function definition for 'wireframe' * checking Rd files ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking data for non-ASCII characters ... OK * creating YourCast-Ex.R ... OK * checking examples ... ERROR Running examples in 'YourCast-Ex.R' failed. The error most likely occurred in: > ### * yourprep > > flush(stderr()); flush(stdout()) > > ### Name: yourprep > ### Title: Data object creation wizard for YourCast > ### Aliases: yourprep > > > ### ** Examples > > # Working directory automatically set to directory with cross > # section and auxiliary files to begin. Files for this example > # in 'data' folder of YourCast library. > > #Old working directory to be restored later > oldwd <- getwd() > # Now setting wd to 'data' folder in YourCast library > setwd(paste(.libPaths()[1],"/YourCast/data",sep="")) > > # Simple run of the function, using option that turns year variable > # into label in each cs. Use sample.frame argument for all diagnostics > # to work > > dta <- yourprep(G.names="cntry.codes.txt",adjacency="adjacency.txt", + year.var=TRUE,verbose=TRUE,sample.frame=c(1950,2000,2001,2030)) Error in yourprep(G.names = "cntry.codes.txt", adjacency = "adjacency.txt", : 'dpath' does not have properly labeled cross section objects; make to include 'csid' before CSID code or use 'datalist' option to include objects in R workspace. Execution halted