MidnightBSD Magus

devel/R-cran-interp

Interpolation methods

Flavor Version Run OSVersion Arch License Restricted Status
1.1.6 623 4.0 i386 gpl2 gpl3 0 fail

License Permissions:

Events

Machine Type Time Message
m4032 info 2025-12-22 01:15:40.515128 Test Started
m4032 fail 2025-12-22 01:20:47.481845 make test returned non-zero: 1
m4032 fail 2025-12-22 01:20:47.554901 Test complete.

Log

===>  Testing for R-cran-interp-1.1.6
* using log directory '/magus/work/usr/mports/devel/R-cran-interp/work/interp.Rcheck'
* using R version 4.4.0 (2024-04-24)
* using platform: i386-portbld-midnightbsd4.0 (32-bit)
* R was compiled by
    MidnightBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
    GNU Fortran (MidnightBSD Ports Collection) 13.3.0
* running under: MidnightBSD m4032 4.0 MidnightBSD 4.0 #0 stable/4.0-n13686-f61178e3f6-dirty: Thu Dec  4 08:27:47 EST 2025     root@m4032:/usr/obj/usr/src/i386.i386/sys/GENERIC i386
* using session charset: ASCII
* using options '--no-manual --no-build-vignettes'
* checking for file 'interp/DESCRIPTION' ... OK
* checking extension type ... Package
* this is package 'interp' version '1.1-6'
* checking package namespace information ... OK
* checking package dependencies ... NOTE
Packages suggested but not available for checking:
  'sp', 'Deriv', 'Ryacas', 'ggplot2', 'gridExtra', 'stringi',
  'stringr', 'scatterplot3d'
* 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 'interp' can be installed ... OK
* used C compiler: 'MidnightBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)'
* used Fortran compiler: 'GNU Fortran (MidnightBSD Ports Collection) 13.3.0'
* used C++ compiler: 'MidnightBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)'
* checking installed package size ... OK
* checking package directory ... OK
* checking 'build' 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 code 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 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 ... OK
* checking Rd files ... OK
* checking Rd metadata ... 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 contents of 'data' directory ... OK
* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking line endings in C/C++/Fortran sources/headers ... OK
* checking compiled code ... OK
* checking usage of KIND in Fortran files ... OK
* checking installed files from 'inst/doc' ... OK
* checking files in 'vignettes' ... OK
* checking examples ... ERROR
Running examples in 'interp-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: interp
> ### Title: Interpolation function
> ### Aliases: interp
> ### Keywords: dplot math
> 
> ### ** Examples
> 
> ### Use all datasets from Franke, 1979:
> data(franke)
> ## x-y irregular grid points:
> oldseed <- set.seed(42)
> ni <- 64
> xi <- runif(ni,0,1)
> yi <- runif(ni,0,1)
> xyi <- cbind(xi,yi)
> ## linear interpolation
> fi <- franke.fn(xi,yi,1)
> IL <- interp(xi,yi,fi,nx=80,ny=80,method="linear")
> ## prepare breaks and colors that match for image and contour:
> breaks <- pretty(seq(min(IL$z,na.rm=TRUE),max(IL$z,na.rm=TRUE),length=11))
> db <- breaks[2]-breaks[1]
> nb <- length(breaks)
> breaks <- c(breaks[1]-db,breaks,breaks[nb]+db)
> colors <- terrain.colors(length(breaks)-1)
> image(IL,breaks=breaks,col=colors,main="Franke function 1",
+       sub=paste("linear interpolation, ", ni,"points"))
> contour(IL,add=TRUE,levels=breaks)
> points(xi,yi)
> ## spline interpolation
> fi <- franke.fn(xi,yi,1)
> IS <- interp(xi,yi,fi,method="akima",
+              kernel="gaussian",solver="QR")
> ## prepare breaks and colors that match for image and contour:
> breaks <- pretty(seq(min(IS$z,na.rm=TRUE),max(IS$z,na.rm=TRUE),length=11))
> db <- breaks[2]-breaks[1]
> nb <- length(breaks)
> breaks <- c(breaks[1]-db,breaks,breaks[nb]+db)
> colors <- terrain.colors(length(breaks)-1)
> image(IS,breaks=breaks,col=colors,main="Franke function 1",
+       sub=paste("spline interpolation, ", ni,"points"))
> contour(IS,add=TRUE,levels=breaks)
>         points(xi,yi)
> ## regular grid:
> nx <- 8; ny <- 8
> xg<-seq(0,1,length=nx)
> yg<-seq(0,1,length=ny)
> xx <- t(matrix(rep(xg,ny),nx,ny))
> yy <- matrix(rep(yg,nx),ny,nx)
> xyg<-expand.grid(xg,yg)
> ## linear interpolation
> fg <- outer(xg,yg,function(x,y)franke.fn(x,y,1))
> IL <- interp(xg,yg,fg,input="grid",method="linear")
> ## prepare breaks and colors that match for image and contour:
> breaks <- pretty(seq(min(IL$z,na.rm=TRUE),max(IL$z,na.rm=TRUE),length=11))
> db <- breaks[2]-breaks[1]
> nb <- length(breaks)
> breaks <- c(breaks[1]-db,breaks,breaks[nb]+db)
> colors <- terrain.colors(length(breaks)-1)
> image(IL,breaks=breaks,col=colors,main="Franke function 1",
+       sub=paste("linear interpolation, ", nx,"x",ny,"points"))
> contour(IL,add=TRUE,levels=breaks)
> points(xx,yy)
> ## spline interpolation
> fg <- outer(xg,yg,function(x,y)franke.fn(x,y,1))
> IS <- interp(xg,yg,fg,input="grid",method="akima",
+              kernel="gaussian",solver="QR")
> ## prepare breaks and colors that match for image and contour:
> breaks <- pretty(seq(min(IS$z,na.rm=TRUE),max(IS$z,na.rm=TRUE),length=11))
> db <- breaks[2]-breaks[1]
> nb <- length(breaks)
> breaks <- c(breaks[1]-db,breaks,breaks[nb]+db)
> colors <- terrain.colors(length(breaks)-1)
> image(IS,breaks=breaks,col=colors,main="Franke function 1",
+       sub=paste("spline interpolation, ", nx,"x",ny,"points"))
> contour(IS,add=TRUE,levels=breaks)
> points(xx,yy)
> 
> ## apply interp to sp data:
> require(sp)
Loading required package: sp
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called 'sp'
> ## convert Akima data set to a sp object 
> data(akima)
> asp <- SpatialPointsDataFrame(list(x=akima$x,y=akima$y),
+                               data = data.frame(z=akima$z))
Error in SpatialPointsDataFrame(list(x = akima$x, y = akima$y), data = data.frame(z = akima$z)) : 
  could not find function "SpatialPointsDataFrame"
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ...
  'interp.Rnw' using 'UTF-8'... failed
  'partDeriv.Rnw' using 'UTF-8'... failed
  'tri.Rnw' using 'UTF-8'... OK
 WARNING
Errors in running code in vignettes:
when running code in 'interp.Rnw'
  ...

> library(interp)

> data(akima)

> library(scatterplot3d)

  When sourcing 'interp.R':
Error: there is no package called 'scatterplot3d'
Execution halted
when running code in 'partDeriv.Rnw'
  ...
> options(SweaveHooks = list(fig = function() par(mar = c(5.1, 
+     4.1, 1.1, 2.1))))

> library(interp)

> library(Deriv)

  When sourcing 'partDeriv.R':
Error: there is no package called 'Deriv'
Execution halted

* checking re-building of vignette outputs ... SKIPPED
* DONE

Status: 1 ERROR, 1 WARNING, 1 NOTE
See
  '/magus/work/usr/mports/devel/R-cran-interp/work/interp.Rcheck/00check.log'
for details.

*** Error code 1

Stop.
make: stopped in /usr/mports/devel/R-cran-interp

Links

Depends On

Depend Of

Categories

CVEs

  • Loading CVE information...

LLM Analysis