CRAN Package Check Results for Maintainer ‘Jens Harbers <jensharbers at gmail.com>’

Last updated on 2026-05-08 07:51:01 CEST.

Package ERROR OK
agricolaeplotr 4 9

Package agricolaeplotr

Current CRAN status: ERROR: 4, OK: 9

Version: 0.6.1
Check: R code for possible problems
Result: NOTE plot_longest_diagonal: no visible global function definition for ‘%>%’ Undefined global functions or variables: %>% Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64

Version: 0.6.1
Check: examples
Result: ERROR Running examples in ‘agricolaeplotr-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot_longest_diagonal > ### Title: Plot the longest diagonal of a field > ### Aliases: plot_longest_diagonal > > ### ** Examples > > library(sf) Linking to GEOS 3.14.1, GDAL 3.12.3, PROJ 9.8.1; sf_use_s2() is TRUE > my_sf <- st_read(system.file("shape/gfn_schlaege.shp", package="agricolaeplotr")) Reading layer `gfn_schlaege' from data source `/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/agricolaeplotr/shape/gfn_schlaege.shp' using driver `ESRI Shapefile' Simple feature collection with 24 features and 5 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: 453876.8 ymin: 5936041 xmax: 458766 ymax: 5937438 CRS: NA > st_crs(my_sf) <- 25832 > field <- my_sf[my_sf$SCHLAG_NR == 170,] > plot_longest_diagonal(field) Error in stats::dist(field_boundary) %>% as.matrix() %>% as_tibble() %>% : could not find function "%>%" Calls: plot_longest_diagonal Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.1
Check: examples
Result: ERROR Running examples in ‘agricolaeplotr-Ex.R’ failed The error most likely occurred in: > ### Name: plot_longest_diagonal > ### Title: Plot the longest diagonal of a field > ### Aliases: plot_longest_diagonal > > ### ** Examples > > library(sf) Linking to GEOS 3.13.0, GDAL 3.11.5, PROJ 9.6.2; sf_use_s2() is TRUE > my_sf <- st_read(system.file("shape/gfn_schlaege.shp", package="agricolaeplotr")) Reading layer `gfn_schlaege' from data source `/data/gannet/ripley/R/packages/tests-clang/agricolaeplotr.Rcheck/agricolaeplotr/shape/gfn_schlaege.shp' using driver `ESRI Shapefile' Simple feature collection with 24 features and 5 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: 453876.8 ymin: 5936041 xmax: 458766 ymax: 5937438 CRS: NA > st_crs(my_sf) <- 25832 > field <- my_sf[my_sf$SCHLAG_NR == 170,] > plot_longest_diagonal(field) Error in stats::dist(field_boundary) %>% as.matrix() %>% as_tibble() %>% : could not find function "%>%" Calls: plot_longest_diagonal Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.6.1
Check: examples
Result: ERROR Running examples in ‘agricolaeplotr-Ex.R’ failed The error most likely occurred in: > ### Name: plot_longest_diagonal > ### Title: Plot the longest diagonal of a field > ### Aliases: plot_longest_diagonal > > ### ** Examples > > library(sf) Linking to GEOS 3.13.0, GDAL 3.10.3, PROJ 9.6.2; sf_use_s2() is TRUE > my_sf <- st_read(system.file("shape/gfn_schlaege.shp", package="agricolaeplotr")) Reading layer `gfn_schlaege' from data source `/data/gannet/ripley/R/packages/tests-devel/agricolaeplotr.Rcheck/agricolaeplotr/shape/gfn_schlaege.shp' using driver `ESRI Shapefile' Simple feature collection with 24 features and 5 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: 453876.8 ymin: 5936041 xmax: 458766 ymax: 5937438 CRS: NA > st_crs(my_sf) <- 25832 > field <- my_sf[my_sf$SCHLAG_NR == 170,] > plot_longest_diagonal(field) Error in stats::dist(field_boundary) %>% as.matrix() %>% as_tibble() %>% : could not find function "%>%" Calls: plot_longest_diagonal Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.6.1
Check: examples
Result: ERROR Running examples in 'agricolaeplotr-Ex.R' failed The error most likely occurred in: > ### Name: plot_longest_diagonal > ### Title: Plot the longest diagonal of a field > ### Aliases: plot_longest_diagonal > > ### ** Examples > > library(sf) Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE > my_sf <- st_read(system.file("shape/gfn_schlaege.shp", package="agricolaeplotr")) Reading layer `gfn_schlaege' from data source `D:\RCompile\CRANpkg\lib\4.7\agricolaeplotr\shape\gfn_schlaege.shp' using driver `ESRI Shapefile' Simple feature collection with 24 features and 5 fields Geometry type: POLYGON Dimension: XY Bounding box: xmin: 453876.8 ymin: 5936041 xmax: 458766 ymax: 5937438 CRS: NA > st_crs(my_sf) <- 25832 > field <- my_sf[my_sf$SCHLAG_NR == 170,] > plot_longest_diagonal(field) Error in stats::dist(field_boundary) %>% as.matrix() %>% as_tibble() %>% : could not find function "%>%" Calls: plot_longest_diagonal Execution halted Flavor: r-devel-windows-x86_64