* using log directory 'd:/RCompile/CRANincoming/R-devel/AirExposure.Rcheck' * using R Under development (unstable) (2024-06-07 r86704 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'AirExposure/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'AirExposure' version '1.0' * checking CRAN incoming feasibility ... NOTE Maintainer: 'Josefina Urquiza ' New submission Size of tarball: 5505350 bytes * 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 'AirExposure' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 code 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 ... OK * 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 'AirExposure-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: make_grid > ### Title: make_grid > ### Aliases: make_grid > ### Keywords: manip > > ### ** Examples > > > # Mendoza, Argentina geographic boundaries. > xmin = -68.93274 > xmax = -68.67807 > ymin= -33.05988 > ymax = -32.78414 > > # Mexico city geographic boundaries. > xmin = -99.26994216858604 > xmax = -98.94861920239204 > ymin= 19.23859719684508 > ymax = 19.541088423908583 > > #Madrid geographic boundaries. > xmin = -3.7752605696761523 > xmax = -3.5700588517546783 > ymin= 40.347562816507136 > ymax = 40.49667032936084 > > # Pixel size in meters. > pixelSize <- 200 > > # Local path where the 24 shapefiles can be saved. > dir <- getwd() > # Date for which pollution grids will be generated, and these grids will be named. > date <- "2019-08-01" > > # Run the function > make_grid (ymin, ymax, xmin, xmax, pixelSize, dir, date) [1] 0 Layer AirExposure.Rcheck2019-08-01_0001 in dataset d:/RCompile/CRANincoming/R-devel/AirExposure.Rcheck2019-08-01_0001.shp already exists: use either append=TRUE to append to layer or append=FALSE to overwrite layer Error: Dataset already exists. Execution halted * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 1 NOTE