Last updated on 2026-05-07 12:50:16 CEST.
| Package | ERROR | OK |
|---|---|---|
| agricolaeplotr | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
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-fedora-clang, 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.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