Running '0_pt-ex.R' [2s]
  Running 'ex1.R' [6s]
  Running 'ex2-long.R' [6s]
  Running 'ex3.R' [2s]
  Comparing 'ex3.Rout' to 'ex3.Rout.save' ... OK
  Running 'multi-constr.R' [4s]
  Comparing 'multi-constr.Rout' to 'multi-constr.Rout.save' ...173,177d172
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
179,183d173
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
246a237
> NULL
  Running 'roof.R' [3s]
  Comparing 'roof.Rout' to 'roof.Rout.save' ...262,266d261
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
369,373d363
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
476,480d465
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
583,587d567
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
  Running 'small-ex.R' [2s]
  Comparing 'small-ex.Rout' to 'small-ex.Rout.save' ...54,58d53
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
60,64d54
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
169,173d158
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
276,280d260
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
  Running 'spline-ex.R' [2s]
  Comparing 'spline-ex.Rout' to 'spline-ex.Rout.save' ... OK
  Running 'temp.R' [3s]
  Comparing 'temp.Rout' to 'temp.Rout.save' ...193,197d192
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
313,317d307
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
433,437d422
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
496,500d480
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
502,506d481
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
508,512d482
< Warning messages:
< 1: 'is.R' is deprecated.
< See help("Deprecated") 
< 2: 'is.R' is deprecated.
< See help("Deprecated") 
  Running 'wind.R' [8s]
Running the tests in 'tests/0_pt-ex.R' failed.
Complete output:
  > suppressMessages(library(cobs))
  > options(digits = 6, warn = 2) ## << all warnings to errors!
  > 
  > ## When 'R CMD check'ing, we may want to see exact package information:
  > sessionInfo() # plus the details of the major dependent packages:
  R Under development (unstable) (2024-01-28 r85838 ucrt)
  Platform: x86_64-w64-mingw32/x64
  Running under: Windows Server 2022 x64 (build 20348)
  
  Matrix products: default
  
  
  locale:
  [1] LC_COLLATE=C                 LC_CTYPE=German_Germany.utf8
  [3] LC_MONETARY=C                LC_NUMERIC=C                
  [5] LC_TIME=C                   
  
  time zone: Europe/Berlin
  tzcode source: internal
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  other attached packages:
  [1] cobs_1.3-5
  
  loaded via a namespace (and not attached):
   [1] MASS_7.3-60.2      compiler_4.4.0     Matrix_1.6-5       quantreg_5.97     
   [5] SparseM_1.81       survival_3.5-7     MatrixModels_0.5-3 splines_4.4.0     
   [9] grid_4.4.0         lattice_0.22-5    
  > packageDescription("SparseM")
  Package: SparseM
  Version: 1.81
  Authors@R: c( person("Roger", "Koenker", role = c("cre","aut"), email =
          "rkoenker@uiuc.edu"), person(c("Pin", "Tian"), "Ng", role =
          c("ctb"), comment = "Contributions to Sparse QR code", email =
          "pin.ng@nau.edu"), person("Yousef", "Saad", role = c("ctb"),
          comment = "author of sparskit2"), person("Ben", "Shaby", role =
          c("ctb"), comment = "author of chol2csr"))
  Maintainer: Roger Koenker <rkoenker@uiuc.edu>
  Depends: R (>= 2.15), methods
  Imports: graphics, stats, utils
  Author: Roger Koenker [cre, aut], Pin Tian Ng [ctb] (Contributions to
          Sparse QR code), Yousef Saad [ctb] (author of sparskit2), Ben
          Shaby [ctb] (author of chol2csr)
  Description: Some basic linear algebra functionality for sparse
          matrices is provided: including Cholesky decomposition and
          backsolving as well as standard R subsetting and Kronecker
          products.
  License: GPL (>= 2)
  Title: Sparse Linear Algebra
  URL: http://www.econ.uiuc.edu/~roger/research/sparse/sparse.html
  NeedsCompilation: yes
  Repository: CRAN
  Packaged: 2021-02-18 11:10:52 UTC; roger
  Date/Publication: 2021-02-18 12:00:02 UTC
  Built: R 4.4.0; x86_64-w64-mingw32; 2024-01-27 01:22:06 UTC; windows
  Archs: x64
  
  -- File: D:/RCompile/CRANpkg/lib/4.4/SparseM/Meta/package.rds 
  > packageDescription("quantreg")
  Package: quantreg
  Title: Quantile Regression
  Description: Estimation and inference methods for models for
          conditional quantile functions: Linear and nonlinear parametric
          and non-parametric (total variation penalized) models for
          conditional quantiles of a univariate response and several
          methods for handling censored survival data.  Portfolio
          selection methods based on expected shortfall risk are also now
          included. See Koenker, R. (2005) Quantile Regression, Cambridge
          U. Press, <doi:10.1017/CBO9780511754098> and Koenker, R. et al.
          (2017) Handbook of Quantile Regression, CRC Press,
          <doi:10.1201/9781315120256>.
  Version: 5.97
  Authors@R: c( person("Roger", "Koenker", role = c("cre","aut"), email =
          "rkoenker@illinois.edu"), person("Stephen", "Portnoy", role =
          c("ctb"), comment = "Contributions to Censored QR code", email
          = "sportnoy@illinois.edu"), person(c("Pin", "Tian"), "Ng", role
          = c("ctb"), comment = "Contributions to Sparse QR code", email
          = "pin.ng@nau.edu"), person("Blaise", "Melly", role = c("ctb"),
          comment = "Contributions to preprocessing code", email =
          "mellyblaise@gmail.com"), person("Achim", "Zeileis", role =
          c("ctb"), comment = "Contributions to dynrq code essentially
          identical to his dynlm code", email =
          "Achim.Zeileis@uibk.ac.at"), person("Philip", "Grosjean", role
          = c("ctb"), comment = "Contributions to nlrq code", email =
          "phgrosjean@sciviews.org"), person("Cleve", "Moler", role =
          c("ctb"), comment = "author of several linpack routines"),
          person("Yousef", "Saad", role = c("ctb"), comment = "author of
          sparskit2"), person("Victor", "Chernozhukov", role = c("ctb"),
          comment = "contributions to extreme value inference code"),
          person("Ivan", "Fernandez-Val", role = c("ctb"), comment =
          "contributions to extreme value inference code"),
          person(c("Brian", "D"), "Ripley", role = c("trl","ctb"),
          comment = "Initial (2001) R port from S (to my everlasting
          shame -- how could I have been so slow to adopt R!) and for
          numerous other suggestions and useful advice", email =
          "ripley@stats.ox.ac.uk"))
  Maintainer: Roger Koenker <rkoenker@illinois.edu>
  Repository: CRAN
  Depends: R (>= 3.5), stats, SparseM
  Imports: methods, graphics, Matrix, MatrixModels, survival, MASS
  Suggests: interp, rgl, logspline, nor1mix, Formula, zoo, R.rsp, conquer
  License: GPL (>= 2)
  URL: https://www.r-project.org
  NeedsCompilation: yes
  VignetteBuilder: R.rsp
  Packaged: 2023-08-19 12:48:42 UTC; roger
  Author: Roger Koenker [cre, aut], Stephen Portnoy [ctb] (Contributions
          to Censored QR code), Pin Tian Ng [ctb] (Contributions to
          Sparse QR code), Blaise Melly [ctb] (Contributions to
          preprocessing code), Achim Zeileis [ctb] (Contributions to
          dynrq code essentially identical to his dynlm code), Philip
          Grosjean [ctb] (Contributions to nlrq code), Cleve Moler [ctb]
          (author of several linpack routines), Yousef Saad [ctb] (author
          of sparskit2), Victor Chernozhukov [ctb] (contributions to
          extreme value inference code), Ivan Fernandez-Val [ctb]
          (contributions to extreme value inference code), Brian D Ripley
          [trl, ctb] (Initial (2001) R port from S (to my everlasting
          shame -- how could I have been so slow to adopt R!) and for
          numerous other suggestions and useful advice)
  Date/Publication: 2023-08-19 13:50:05 UTC
  Built: R 4.4.0; x86_64-w64-mingw32; 2024-01-29 02:31:06 UTC; windows
  Archs: x64
  
  -- File: D:/RCompile/CRANpkg/lib/4.4/quantreg/Meta/package.rds 
  > packageDescription("cobs")
  Package: cobs
  Version: 1.3-5
  VersionNote: Released 1.3-4 on 2020-01-20
  Date: 2022-05-29
  Title: Constrained B-Splines (Sparse Matrix Based)
  Description: Qualitatively Constrained (Regression) Smoothing Splines
          via Linear Programming and Sparse Matrices.
  Author: Pin T. Ng <Pin.Ng@nau.edu> and Martin Maechler
  Maintainer: Martin Maechler <maechler@stat.math.ethz.ch>
  Imports: SparseM (>= 1.6), quantreg (>= 4.65), grDevices, graphics,
          splines, stats, methods
  Suggests: Matrix
  LazyData: yes
  BuildResaveData: no
  URL: https://curves-etc.r-forge.r-project.org/,
          https://r-forge.r-project.org/R/?group_id=846,
          svn://svn.r-forge.r-project.org/svnroot/curves-etc/pkg/cobs
  BugReports: https://r-forge.r-project.org/R/?group_id=846
  License: GPL (>= 2)
  Repository: CRAN
  Repository/R-Forge/Project: curves-etc
  Repository/R-Forge/Revision: 385
  Repository/R-Forge/DateTimeStamp: 2022-05-29 20:17:32
  Date/Publication: 2022-05-30 09:40:06 UTC
  NeedsCompilation: yes
  Packaged: 2022-05-29 20:31:07 UTC; rforge
  Built: R 4.4.0; x86_64-w64-mingw32; 2024-01-29 02:41:02 UTC; windows
  Archs: x64
  
  -- File: D:/RCompile/CRANpkg/lib/4.4/cobs/Meta/package.rds 
  > ##
  > 
  > str(.M <- .Machine, digits = 8)
  List of 29
   $ double.eps               : num 2.220446e-16
   $ double.neg.eps           : num 1.110223e-16
   $ double.xmin              : num 2.2250739e-308
   $ double.xmax              : num 1.7976931e+308
   $ double.base              : int 2
   $ double.digits            : int 53
   $ double.rounding          : int 5
   $ double.guard             : int 0
   $ double.ulp.digits        : int -52
   $ double.neg.ulp.digits    : int -53
   $ double.exponent          : int 11
   $ double.min.exp           : int -1022
   $ double.max.exp           : int 1024
   $ integer.max              : int 2147483647
   $ sizeof.long              : int 4
   $ sizeof.longlong          : int 8
   $ sizeof.longdouble        : int 16
   $ sizeof.pointer           : int 8
   $ sizeof.time_t            : int 8
   $ longdouble.eps           : num 1.0842022e-19
   $ longdouble.neg.eps       : num 5.4210109e-20
   $ longdouble.digits        : int 64
   $ longdouble.rounding      : int 5
   $ longdouble.guard         : int 0
   $ longdouble.ulp.digits    : int -63
   $ longdouble.neg.ulp.digits: int -64
   $ longdouble.exponent      : int 15
   $ longdouble.min.exp       : int -16382
   $ longdouble.max.exp       : int 16384
  > capabilities()
         jpeg         png        tiff       tcltk         X11        aqua 
         TRUE        TRUE        TRUE        TRUE       FALSE       FALSE 
     http/ftp     sockets      libxml        fifo      cledit       iconv 
         TRUE        TRUE       FALSE        TRUE       FALSE        TRUE 
          NLS       Rprof     profmem       cairo         ICU long.double 
         TRUE        TRUE        TRUE        TRUE        TRUE        TRUE 
      libcurl 
         TRUE 
  > str(.M[grep("^sizeof", names(.M))]) ## also differentiate long-double..
  List of 5
   $ sizeof.long      : int 4
   $ sizeof.longlong  : int 8
   $ sizeof.longdouble: int 16
   $ sizeof.pointer   : int 8
   $ sizeof.time_t    : int 8
  > (b64 <- .M$sizeof.pointer == 8)
  [1] TRUE
  > (arch <- Sys.info()[["machine"]])
  [1] "x86-64"
  > (onWindows <- .Platform$OS.type == "windows")
  [1] TRUE
  > (win32 <- onWindows && !b64)
  [1] FALSE
  > 
  > op <- options(warn = 2) ## << all warnings to errors!
  > 
  > set.seed(101)
  > x <- seq(-2,2, length = 100)
  > y <- x^2 + 0.5*rnorm(100)
  > ## Constraints -- choosing ones that are true for  f(x) = x^2
  > PW  <- rbind(
  +              c(0, -3,9), # f(-3) = 9
  +              c(0,  3,9), # f(3 ) = 9
  +              c(2,  0,0)) # f'(0) = 0
  > 
  > mod <- cobs (x,y,constraint = "convex", pointwise = PW)
  qbsks2():
   Performing general knot selection ...
  
   Deleting unnecessary knots ...
  > mod
  COBS regression spline (degree = 2) from call:
  	 cobs(x = x, y = y, constraint = "convex", pointwise = PW)
  {tau=0.5}-quantile;  dimensionality of fit: 3 from {3}
  x$knots[1:2]: -2,  2
  > stopifnot(all.equal(predict(mod, c(-3, 3))[,"fit"], c(9,9), tol = 1e-12))
  Error: (converted from warning) 'is.R' is deprecated.
  See help("Deprecated")
  Execution halted