- using R Under development (unstable) (2025-11-23 r89052)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-7) 15.2.0
GNU Fortran (Debian 15.2.0-7) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘geosed/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘geosed’ version ‘0.1.1’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [0s/0s] NOTE
Maintainer: ‘Shant Sukljian <asshtnt@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Shant",
family = "Sukljian",
role = c("aut", "cre"),
email = "asshtnt@gmail.com")
as necessary.
- checking package namespace information ... OK
- checking package dependencies ... INFO
Package suggested but not available for checking: ‘mapview’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘geosed’ can be installed ... OK
See the install log for details.
- 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 ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] 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 ... [3s/4s] OK
- checking Rd files ... [0s/0s] 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 LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking examples ... [0s/1s] ERROR
Running examples in ‘geosed-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: geo_midpoint
> ### Title: Point of Equidistance to Up to Three Longitude, Latitude Points
> ### Aliases: geo_midpoint
> ### Keywords: circle disk enclosing geo latitude longitude sed smallest
>
> ### ** Examples
>
>
> # Load required packages
> require(mapview)
Loading required package: mapview
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘mapview’
> require(sp)
Loading required package: sp
>
> # Create sample geo dataset
> sample_coord <-
+ matrix(
+ c(
+ sample(327131680:419648450, 3) / 10000000,
+ sample(-1147301410:-1241938690, 3) / 10000000
+ ),
+ ncol = 2
+ )
>
> # Generate circumcenter and radius
> gmp <- geo_midpoint(sample_coord)
>
> # Find distance to circumcenter
> radius <- geo_point_dist(rbind(sample_coord[1, ], gmp))
>
> # Create 80 sided polygon based on gmp's center and radius
> gmp_poly <- geo_surround_poly(gmp, radius, 80)
>
> # Join all the points into a single matrix
> bound_poly <- rbind(sample_coord, as.vector(gmp), gmp_poly)
>
> # Create SpacialPoints object and pass to mapview for visualization
> mapview(
+ SpatialPoints(
+ bound_poly[,c(2, 1)],
+ proj4string = CRS("+proj=longlat +datum=WGS84")
+ )
+ )
Error in mapview(SpatialPoints(bound_poly[, c(2, 1)], proj4string = CRS("+proj=longlat +datum=WGS84"))) :
could not find function "mapview"
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE