CRAN Package Check Results for Package Sim.DiffProc

Last updated on 2025-01-27 03:49:41 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.9 26.52 220.32 246.84 NOTE
r-devel-linux-x86_64-debian-gcc 4.9 16.63 125.05 141.68 ERROR
r-devel-linux-x86_64-fedora-clang 4.9 404.23 NOTE
r-devel-linux-x86_64-fedora-gcc 4.9 393.50 NOTE
r-devel-windows-x86_64 4.9 23.00 230.00 253.00 ERROR
r-patched-linux-x86_64 4.9 25.00 212.94 237.94 OK
r-release-linux-x86_64 4.9 22.34 210.20 232.54 OK
r-release-macos-arm64 4.9 119.00 OK
r-release-macos-x86_64 4.9 208.00 OK
r-release-windows-x86_64 4.9 26.00 249.00 275.00 OK
r-oldrel-macos-arm64 4.9 123.00 OK
r-oldrel-macos-x86_64 4.9 316.00 OK
r-oldrel-windows-x86_64 4.9 27.00 310.00 337.00 OK

Check Details

Version: 4.9
Check: compiled code
Result: NOTE File ‘Sim.DiffProc/libs/Sim.DiffProc.so’: Found non-API call to R: ‘SET_TYPEOF’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. 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

Version: 4.9
Check: examples
Result: ERROR Running examples in ‘Sim.DiffProc-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: rsde1d > ### Title: Approximate transitional densities and random generation for 1-D > ### SDE > ### Aliases: rsde1d rsde1d.default dsde1d dsde1d.default print.dsde1d > ### plot.dsde1d > ### Keywords: sde ts mts random generators transition density > > ### ** Examples > > > ## Example 1: > ## dX(t) = (-2*(X(t)<=0)+2*(X(t)>=0)) *dt + 0.5 * dW(t) > set.seed(1234) > > f <- expression(-2*(x<=0)+2*(x>=0)) > g <- expression(0.5) > res1 <- snssde1d(drift=f,diffusion=g,M=5000) > x <- rsde1d(res1, at = 1) > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. -4.075421 -2.064221 0.838452 0.006097 2.067562 3.892380 > dens1 <- dsde1d(res1, at = 1) > dens1 Density of X(t-t0)|X(t0) = 0 at time t = 1 Data: x (5000 obs.); Bandwidth 'bw' = 0.348 Error in zapsmall(x[finite], digits = digits + zdigits) : invalid 'digits' Calls: <Anonymous> ... summary.data.frame -> format -> format.summaryDefault -> zapsmall Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.9
Check: tests
Result: ERROR Running ‘TEX.r’ [1s/1s] Running ‘bridgesde.R’ [4s/4s] Running ‘fitsde.R’ [0s/1s] Running ‘fptsde.R’ [3s/3s] Running ‘rsde.R’ [1s/1s] Running ‘snssde.R’ [3s/4s] Running the tests in ‘tests/rsde.R’ failed. Complete output: > library(Sim.DiffProc) Package 'Sim.DiffProc', version 4.9 browseVignettes('Sim.DiffProc') for more informations. > > ## 2-dim SDE > set.seed(1234) > > # SDE's 2d > fx <- expression(3*(2-y),2*x) > gx <- expression(1,y) > mod2d <- snssde2d(drift=fx,diffusion=gx,x0=c(1,2),M=1000) > > # random > r2d <- rsde2d(mod2d,at=0.5) > summary(r2d) x y Min. :-5.6639 Min. : 0.4349 1st Qu.:-0.3902 1st Qu.: 1.7160 Median : 0.5497 Median : 2.4000 Mean : 0.3265 Mean : 2.7618 3rd Qu.: 1.2958 3rd Qu.: 3.3156 Max. : 3.3886 Max. :12.1161 > > # Marginal density > > denM <- dsde2d(mod2d,pdf="M", at=0.5) > denM Marginal density of X(t-t0)|X(t0)=1 at time t = 0.5 Data: x (1000 obs.); Bandwidth 'bw' = 0.2844 Error in zapsmall(x[finite], digits = digits + zdigits) : invalid 'digits' Calls: <Anonymous> ... summary.data.frame -> format -> format.summaryDefault -> zapsmall Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 4.9
Check: compiled code
Result: NOTE File 'Sim.DiffProc/libs/x64/Sim.DiffProc.dll': Found non-API call to R: 'SET_TYPEOF' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points. Flavor: r-devel-windows-x86_64

Version: 4.9
Check: examples
Result: ERROR Running examples in 'Sim.DiffProc-Ex.R' failed The error most likely occurred in: > ### Name: rsde1d > ### Title: Approximate transitional densities and random generation for 1-D > ### SDE > ### Aliases: rsde1d rsde1d.default dsde1d dsde1d.default print.dsde1d > ### plot.dsde1d > ### Keywords: sde ts mts random generators transition density > > ### ** Examples > > > ## Example 1: > ## dX(t) = (-2*(X(t)<=0)+2*(X(t)>=0)) *dt + 0.5 * dW(t) > set.seed(1234) > > f <- expression(-2*(x<=0)+2*(x>=0)) > g <- expression(0.5) > res1 <- snssde1d(drift=f,diffusion=g,M=5000) > x <- rsde1d(res1, at = 1) > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. -4.075421 -2.064221 0.838452 0.006097 2.067562 3.892380 > dens1 <- dsde1d(res1, at = 1) > dens1 Density of X(t-t0)|X(t0) = 0 at time t = 1 Data: x (5000 obs.); Bandwidth 'bw' = 0.348 Error in zapsmall(x[finite], digits = digits + zdigits) : invalid 'digits' Calls: <Anonymous> ... summary.data.frame -> format -> format.summaryDefault -> zapsmall Execution halted Flavor: r-devel-windows-x86_64

Version: 4.9
Check: tests
Result: ERROR Running 'TEX.r' [1s] Running 'bridgesde.R' [6s] Running 'fitsde.R' [1s] Running 'fptsde.R' [4s] Running 'rsde.R' [1s] Running 'snssde.R' [6s] Running the tests in 'tests/rsde.R' failed. Complete output: > library(Sim.DiffProc) Package 'Sim.DiffProc', version 4.9 browseVignettes('Sim.DiffProc') for more informations. > > ## 2-dim SDE > set.seed(1234) > > # SDE's 2d > fx <- expression(3*(2-y),2*x) > gx <- expression(1,y) > mod2d <- snssde2d(drift=fx,diffusion=gx,x0=c(1,2),M=1000) > > # random > r2d <- rsde2d(mod2d,at=0.5) > summary(r2d) x y Min. :-5.6639 Min. : 0.4349 1st Qu.:-0.3902 1st Qu.: 1.7160 Median : 0.5497 Median : 2.4000 Mean : 0.3265 Mean : 2.7618 3rd Qu.: 1.2958 3rd Qu.: 3.3156 Max. : 3.3886 Max. :12.1161 > > # Marginal density > > denM <- dsde2d(mod2d,pdf="M", at=0.5) > denM Marginal density of X(t-t0)|X(t0)=1 at time t = 0.5 Data: x (1000 obs.); Bandwidth 'bw' = 0.2844 Error in zapsmall(x[finite], digits = digits + zdigits) : invalid 'digits' Calls: <Anonymous> ... summary.data.frame -> format -> format.summaryDefault -> zapsmall Execution halted Flavor: r-devel-windows-x86_64