CRAN Package Check Results for Package Rdistance

Last updated on 2025-03-09 22:53:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.0 6.27 109.52 115.79 NOTE
r-devel-linux-x86_64-debian-gcc 3.0.0 3.74 56.55 60.29 ERROR
r-devel-linux-x86_64-fedora-clang 3.0.0 145.54 ERROR
r-devel-linux-x86_64-fedora-gcc 3.0.0 197.49 NOTE
r-devel-macos-arm64 3.0.0 51.00 NOTE
r-devel-macos-x86_64 3.0.0 93.00 NOTE
r-devel-windows-x86_64 3.0.0 7.00 171.00 178.00 NOTE
r-patched-linux-x86_64 3.0.0 6.77 100.74 107.51 NOTE
r-release-linux-x86_64 3.0.0 5.74 72.84 78.58 ERROR
r-release-macos-arm64 3.0.0 51.00 NOTE
r-release-macos-x86_64 3.0.0 85.00 NOTE
r-release-windows-x86_64 3.0.0 9.00 145.00 154.00 ERROR
r-oldrel-macos-arm64 3.0.0 OK
r-oldrel-macos-x86_64 3.0.0 167.00 OK
r-oldrel-windows-x86_64 3.0.0 9.00 180.00 189.00 OK

Check Details

Version: 3.0.0
Check: Rd files
Result: NOTE checkRd: (-1) halfnorm.like.Rd:105: Lost braces; missing escapes or markup? 105 | {f(x|a,b,c_1,c_2,...,c_k) = f(x|a,b)(1 + c(1) h_i1(x) + c(2) h_i2(x) + ... + c(k) h_ik(x)). } | ^ checkRd: (-1) secondDeriv.Rd:15: Lost braces 15 | This must be a function of the form FUN <- function(x, ...){...} | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 3.0.0
Check: examples
Result: ERROR Running examples in ‘Rdistance-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot.dfunc > ### Title: plot.dfunc - Plot method for distance (detection) functions > ### Aliases: plot.dfunc > ### Keywords: models > > ### ** Examples > > set.seed(87654) > x <- rnorm(1000, mean=0, sd=20) > x <- x[x >= 0] > x <- units::set_units(x, "ft") > dfunc <- dfuncEstim(x~1, likelihood="halfnorm") > plot(dfunc) > plot(dfunc, nbins=25) > > # showing effects of plot params > plot(dfunc + , col=c("red","blue","orange") + , border="black" + , xlab="Off-transect distance" + , ylab="Prob" + , vertLines = FALSE + , main="Showing plot params") > > plot(dfunc + , col="wheat" + , density=30 + , angle=c(-45,0,45) + , cex.axis=1.5 + , cex.lab=2 + , ylab="Probability") Error in UseMethod("units") : no applicable method for 'units' applied to an object of class "logical" Calls: plot ... barplot.default -> xyrect -> rect -> rbind -> rbind -> units Execution halted Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 3.0.0
Check: examples
Result: ERROR Running examples in ‘Rdistance-Ex.R’ failed The error most likely occurred in: > ### Name: plot.dfunc > ### Title: plot.dfunc - Plot method for distance (detection) functions > ### Aliases: plot.dfunc > ### Keywords: models > > ### ** Examples > > set.seed(87654) > x <- rnorm(1000, mean=0, sd=20) > x <- x[x >= 0] > x <- units::set_units(x, "ft") > dfunc <- dfuncEstim(x~1, likelihood="halfnorm") > plot(dfunc) > plot(dfunc, nbins=25) > > # showing effects of plot params > plot(dfunc + , col=c("red","blue","orange") + , border="black" + , xlab="Off-transect distance" + , ylab="Prob" + , vertLines = FALSE + , main="Showing plot params") > > plot(dfunc + , col="wheat" + , density=30 + , angle=c(-45,0,45) + , cex.axis=1.5 + , cex.lab=2 + , ylab="Probability") Error in UseMethod("units") : no applicable method for 'units' applied to an object of class "logical" Calls: plot ... barplot.default -> xyrect -> rect -> rbind -> rbind -> units Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-release-windows-x86_64