* using log directory 'd:/Rcompile/CRANpkg/local/3.5/geometr.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 'geometr/DESCRIPTION' ... OK * this is package 'geometr' version '0.2.4' * package encoding: UTF-8 * 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 'geometr' can be installed ... WARNING Found the following significant warnings: Note: possible error in 'pathGrob(x = point$x, ': unused argument (pathId = point$fid) See 'd:/Rcompile/CRANpkg/local/3.5/geometr.Rcheck/00install.out' for details. Information on the location(s) of code generating the 'Note's can be obtained by re-running with environment variable R_KEEP_PKG_SOURCE set to 'yes'. * 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 * loading checks for arch 'i386' ** 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 * loading checks for arch 'x64' ** 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 ... [26s] NOTE gc_grob,geom: possible error in pathGrob(x = point$x, y = point$y, id = vids, pathId = point$fid, rule = "evenodd", name = ids, gp = gpar(col = params$linecol, fill = params$fillcol, lty = params$linetype, lwd = params$linewidth)): unused argument (pathId = point$fid) * 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... ERROR Running examples in 'geometr-Ex.R' failed The error most likely occurred in: > ### Name: gs_polygon > ### Title: Create a polygon 'geom' > ### Aliases: gs_polygon gs_triangle gs_square gs_rectangle gs_hexagon > > ### ** Examples > > # 1. create a polygon programmatically > coords <- data.frame(x = c(40, 70, 70, 50), + y = c(40, 40, 60, 70)) > > # if no window is set, the bounding box will be set as window > (aGeom <- gs_polygon(anchor = coords)) geom polygon 1 group | 1 feature | 5 points crs cartesian attributes -- tiny map 70 40 70 40 > > # the vertices are plottet relative to the window > library(magrittr) > window <- data.frame(x = c(0, 80), + y = c(0, 80)) > gs_polygon(anchor = coords, vertices = 6, window = window, + regular = TRUE) %>% + visualise(linecol = "green") Error in pathGrob(x = point$x, y = point$y, id = vids, pathId = point$fid, : unused argument (pathId = point$fid) Calls: %>% ... -> visualise -> makeObject -> gc_grob -> gc_grob Execution halted ** running examples for arch 'x64' ... ERROR Running examples in 'geometr-Ex.R' failed The error most likely occurred in: > ### Name: gs_polygon > ### Title: Create a polygon 'geom' > ### Aliases: gs_polygon gs_triangle gs_square gs_rectangle gs_hexagon > > ### ** Examples > > # 1. create a polygon programmatically > coords <- data.frame(x = c(40, 70, 70, 50), + y = c(40, 40, 60, 70)) > > # if no window is set, the bounding box will be set as window > (aGeom <- gs_polygon(anchor = coords)) geom polygon 1 group | 1 feature | 5 points crs cartesian attributes -- tiny map 70 40 70 40 > > # the vertices are plottet relative to the window > library(magrittr) > window <- data.frame(x = c(0, 80), + y = c(0, 80)) > gs_polygon(anchor = coords, vertices = 6, window = window, + regular = TRUE) %>% + visualise(linecol = "green") Error in pathGrob(x = point$x, y = point$y, id = vids, pathId = point$fid, : unused argument (pathId = point$fid) Calls: %>% ... -> visualise -> makeObject -> gc_grob -> gc_grob Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [28s] ERROR Running 'testthat.R' [27s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(checkmate) > library(raster) Loading required package: sp > library(sp) > library(sf) Linking to GEOS 3.6.1, GDAL 2.2.3, PROJ 4.9.3 > > test_check("geometr") Loading required package: geometr -- 1. Error: transform from geom to grob (@test_gc_grob.R#22) ----------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::gc_grob(input = gtGeoms$polygon, theme = gtTheme) 2. geometr::gc_grob(input = gtGeoms$polygon, theme = gtTheme) -- 2. Error: quick options work (@test_gc_grob.R#36) -------------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::gc_grob(input = gtGeoms$polygon, theme = aTheme, linecol = "fid") 2. geometr::gc_grob(input = gtGeoms$polygon, theme = aTheme, linecol = "fid") -- 3. Error: correct warnings are printed (@test_gc_grob.R#89) ---------------- unused argument (pathId = point$fid) Backtrace: 1. testthat::expect_warning(...) 7. geometr::gc_grob(...) -- 4. Error: locating in a geom works (@test_gt_locate.R#8) ------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(gtGeoms$polygon) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 5. Error: identifying in a geom works (@test_gt_locate.R#16) --------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(gtGeoms$polygon) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 6. Error: make object from a geom (@test_makeObject.R#9) ------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::makeObject(...) 3. geometr::gc_grob(input = x, theme = theme, ...) -- 7. Error: make object from a Spatial (@test_makeObject.R#89) --------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::makeObject(...) 3. geometr::gc_grob(input = x, theme = theme, ...) -- 8. Error: make object from a sf (@test_makeObject.R#97) -------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::makeObject(x = list(gtSF$polygon), window = NULL, theme = gtTheme) 3. geometr::gc_grob(input = x, theme = theme, ...) -- 9. Error: modifying geom works (@test_setTheme.R#147) ---------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = aGeom, theme = myTheme) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 10. Error: visualise a geom (@test_visualise.R#39) ------------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = input, clip = FALSE) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 11. Error: quick options produce output (@test_visualise.R#51) ------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = gtGeoms$polygon, linecol = "fid") 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 12. Error: visualise a geom on top of an already plotted raster (@test_visual unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = input, new = FALSE) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 13. Failure: output the history of a plotted object (@test_visualise.R#104) Check on output isn't true. Must inherit from class 'simpleMessage', but has classes 'simpleError','error','condition' == testthat results =========================================================== [ OK: 669 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 13 ] 1. Error: transform from geom to grob (@test_gc_grob.R#22) 2. Error: quick options work (@test_gc_grob.R#36) 3. Error: correct warnings are printed (@test_gc_grob.R#89) 4. Error: locating in a geom works (@test_gt_locate.R#8) 5. Error: identifying in a geom works (@test_gt_locate.R#16) 6. Error: make object from a geom (@test_makeObject.R#9) 7. Error: make object from a Spatial (@test_makeObject.R#89) 8. Error: make object from a sf (@test_makeObject.R#97) 9. Error: modifying geom works (@test_setTheme.R#147) 1. ... Error: testthat unit tests failed Execution halted ** running tests for arch 'x64' ... [30s] ERROR Running 'testthat.R' [29s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(checkmate) > library(raster) Loading required package: sp > library(sp) > library(sf) Linking to GEOS 3.6.1, GDAL 2.2.3, PROJ 4.9.3 > > test_check("geometr") Loading required package: geometr -- 1. Error: transform from geom to grob (@test_gc_grob.R#22) ----------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::gc_grob(input = gtGeoms$polygon, theme = gtTheme) 2. geometr::gc_grob(input = gtGeoms$polygon, theme = gtTheme) -- 2. Error: quick options work (@test_gc_grob.R#36) -------------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::gc_grob(input = gtGeoms$polygon, theme = aTheme, linecol = "fid") 2. geometr::gc_grob(input = gtGeoms$polygon, theme = aTheme, linecol = "fid") -- 3. Error: correct warnings are printed (@test_gc_grob.R#89) ---------------- unused argument (pathId = point$fid) Backtrace: 1. testthat::expect_warning(...) 7. geometr::gc_grob(...) -- 4. Error: locating in a geom works (@test_gt_locate.R#8) ------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(gtGeoms$polygon) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 5. Error: identifying in a geom works (@test_gt_locate.R#16) --------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(gtGeoms$polygon) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 6. Error: make object from a geom (@test_makeObject.R#9) ------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::makeObject(...) 3. geometr::gc_grob(input = x, theme = theme, ...) -- 7. Error: make object from a Spatial (@test_makeObject.R#89) --------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::makeObject(...) 3. geometr::gc_grob(input = x, theme = theme, ...) -- 8. Error: make object from a sf (@test_makeObject.R#97) -------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::makeObject(x = list(gtSF$polygon), window = NULL, theme = gtTheme) 3. geometr::gc_grob(input = x, theme = theme, ...) -- 9. Error: modifying geom works (@test_setTheme.R#147) ---------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = aGeom, theme = myTheme) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 10. Error: visualise a geom (@test_visualise.R#39) ------------------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = input, clip = FALSE) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 11. Error: quick options produce output (@test_visualise.R#51) ------------- unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = gtGeoms$polygon, linecol = "fid") 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 12. Error: visualise a geom on top of an already plotted raster (@test_visual unused argument (pathId = point$fid) Backtrace: 1. geometr::visualise(geom = input, new = FALSE) 2. geometr::makeObject(...) 4. geometr::gc_grob(input = x, theme = theme, ...) -- 13. Failure: output the history of a plotted object (@test_visualise.R#104) Check on output isn't true. Must inherit from class 'simpleMessage', but has classes 'simpleError','error','condition' == testthat results =========================================================== [ OK: 669 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 13 ] 1. Error: transform from geom to grob (@test_gc_grob.R#22) 2. Error: quick options work (@test_gc_grob.R#36) 3. Error: correct warnings are printed (@test_gc_grob.R#89) 4. Error: locating in a geom works (@test_gt_locate.R#8) 5. Error: identifying in a geom works (@test_gt_locate.R#16) 6. Error: make object from a geom (@test_makeObject.R#9) 7. Error: make object from a Spatial (@test_makeObject.R#89) 8. Error: make object from a sf (@test_makeObject.R#97) 9. Error: modifying geom works (@test_setTheme.R#147) 1. ... Error: testthat unit tests failed Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [8s] WARNING Error in re-building vignettes: ... Quitting from lines 234-244 (geometr.Rmd) Error: processing vignette 'geometr.Rmd' failed with diagnostics: unused argument (pathId = point$fid) Execution halted * checking PDF version of manual ... OK * DONE Status: 4 ERRORs, 2 WARNINGs, 1 NOTE