* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/viewshed3d.Rcheck’ * using R Under development (unstable) (2021-10-15 r81062) * using platform: x86_64-pc-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file ‘viewshed3d/DESCRIPTION’ ... OK * this is package ‘viewshed3d’ version ‘4.0.0’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘viewshed3d’ can be installed ... OK * checking package 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 * 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 dependencies in R code ... NOTE Namespaces in Imports field not imported from: ‘plotrix’ ‘sp’ ‘viridis’ All declared Imports should be used. * 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 ... [13s/13s] OK * checking examples with --run-donttest ... [24s/23s] ERROR Running examples in ‘viewshed3d-Ex.R’ failed The error most likely occurred in: > ### Name: d_visibility > ### Title: Computes the directional visibility from a single location in a > ### 3D point cloud > ### Aliases: d_visibility > > ### ** Examples > > ## No test: > # produce a spherical point cloud > sph <- lidR::LAS(generate_sphere(angular_res = 0.1,r = 1.5)) Creation of a LAS object from data but without a header: Scale factors were set to 0.001 and XYZ coordinates were quantized to fit the scale factors. > > > # compute visibility without segmentation > view.data <- d_visibility(data = sph, + position = c(0,0,0), + angular_res = 1, + store_points = TRUE, + scene_radius = 2) Error: Invalid data: R is not an integer Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/viewshed3d.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:03.09, 57.05 + 6.66