CRAN Package Check Results for Package tuts

Last updated on 2021-06-07 07:51:14 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 8.21 69.11 77.32 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.1 6.89 51.93 58.82 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.1 101.65 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.1 88.91 ERROR
r-devel-windows-x86_64 0.1.1 15.00 70.00 85.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.1.1 ERROR
r-patched-linux-x86_64 0.1.1 8.92 117.18 126.10 NOTE
r-patched-solaris-x86 0.1.1 459.20 NOTE
r-release-linux-x86_64 0.1.1 7.39 117.59 124.98 NOTE
r-release-macos-arm64 0.1.1 ERROR
r-release-macos-x86_64 0.1.1 NOTE
r-release-windows-ix86+x86_64 0.1.1 14.00 133.00 147.00 NOTE
r-oldrel-macos-x86_64 0.1.1 OK
r-oldrel-windows-ix86+x86_64 0.1.1 27.00 192.00 219.00 OK

Check Details

Version: 0.1.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
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-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in 'tuts-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot.tuts_ar1
    > ### Title: Plots and visual diagnostics of tuts_ar1 objects
    > ### Aliases: plot.tuts_ar1
    >
    > ### ** Examples
    >
    > # Note: Most of models included in tuts package are computationally intensive. In the example
    > <ERROR: re-encoding failure from encoding 'UTF-8'>
    # below I set parameters to meet CRAN...
    > # A more practical example would contain N=50 in the first line of the code and n.sim=10000.
    >
    > #1. Import or simulate the data (a simulation is chosen for illustrative purposes):
    > DATA=simtuts(N=10,Harmonics=c(4,0,0), sin.ampl=c(10,0, 0), cos.ampl=c(0,0,0),
    + trend=0,y.sd=2, ti.sd=0.2)
    > y=DATA$observed$y.obs
    > ti.mu=DATA$observed$ti.obs.tnorm
    > ti.sd= rep(0.2, length(ti.mu))
    >
    > #2. Fit the model:
    > n.sim=1000
    > TUAR1=tuar1(y=y,ti.mu=ti.mu,ti.sd=ti.sd,n.sim=n.sim,CV=TRUE,n.cores=2)
    Compiling model graph
     Resolving undeclared variables
     Allocating nodes
    Graph information:
     Observed stochastic nodes: 9
     Unobserved stochastic nodes: 13
     Total graph size: 104
    
    Initializing model
    
    [1] Cross-validation of the model....
    >
    > #3. Generate plots and diagnostics of the model (optional parameters are listed in brackets):
    > plot(TUAR1,type='predTUTS') # One step out of salmple predictions (CI, burn).
    > plot(TUAR1,type='par', burn=0.4) # Distributions of parameters (burn).
    > plot(TUAR1,type='mcmc') # MCMC diagnostics.
    
    
    Preparing plots for const. 8% complete.
    
    Preparing plots for alpha1. 15% complete.
    
    Preparing plots for precision. 23% complete.
    
    Preparing plots for ti.sim. 31% complete.
    
    Preparing plots for ti.sim. 38% complete.
    
    Preparing plots for ti.sim. 46% complete.
    
    Preparing plots for ti.sim. 54% complete.
    
    Preparing plots for ti.sim. 62% complete.
    
    Preparing plots for ti.sim. 69% complete.
    
    Preparing plots for ti.sim. 77% complete.
    
    Preparing plots for ti.sim. 85% complete.
    
    Preparing plots for ti.sim. 92% complete.
    
    Preparing plots for ti.sim. 100% complete.
    
    > plot(TUAR1,type='cv', burn=0.4, CI=0.9) # 5 fold cross validation (CI, burn).
    Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
     invalid value 0 for 'digits' argument
    Calls: plot ... eval -> paste -> format -> format.default -> prettyNum
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘tuts-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plot.tuts_ar1
    > ### Title: Plots and visual diagnostics of tuts_ar1 objects
    > ### Aliases: plot.tuts_ar1
    >
    > ### ** Examples
    >
    > # Note: Most of models included in tuts package are computationally intensive. In the example
    > # below I set parameters to meet CRAN’s testing requirement of maximum 5 sec per example.
    > # A more practical example would contain N=50 in the first line of the code and n.sim=10000.
    >
    > #1. Import or simulate the data (a simulation is chosen for illustrative purposes):
    > DATA=simtuts(N=10,Harmonics=c(4,0,0), sin.ampl=c(10,0, 0), cos.ampl=c(0,0,0),
    + trend=0,y.sd=2, ti.sd=0.2)
    > y=DATA$observed$y.obs
    > ti.mu=DATA$observed$ti.obs.tnorm
    > ti.sd= rep(0.2, length(ti.mu))
    >
    > #2. Fit the model:
    > n.sim=1000
    > TUAR1=tuar1(y=y,ti.mu=ti.mu,ti.sd=ti.sd,n.sim=n.sim,CV=TRUE,n.cores=2)
    Compiling model graph
     Resolving undeclared variables
     Allocating nodes
    Graph information:
     Observed stochastic nodes: 9
     Unobserved stochastic nodes: 13
     Total graph size: 104
    
    Initializing model
    
    [1] Cross-validation of the model....
    >
    > #3. Generate plots and diagnostics of the model (optional parameters are listed in brackets):
    > plot(TUAR1,type='predTUTS') # One step out of salmple predictions (CI, burn).
    > plot(TUAR1,type='par', burn=0.4) # Distributions of parameters (burn).
    > plot(TUAR1,type='mcmc') # MCMC diagnostics.
    
    
    Preparing plots for const. 8% complete.
    
    Preparing plots for alpha1. 15% complete.
    
    Preparing plots for precision. 23% complete.
    
    Preparing plots for ti.sim. 31% complete.
    
    Preparing plots for ti.sim. 38% complete.
    
    Preparing plots for ti.sim. 46% complete.
    
    Preparing plots for ti.sim. 54% complete.
    
    Preparing plots for ti.sim. 62% complete.
    
    Preparing plots for ti.sim. 69% complete.
    
    Preparing plots for ti.sim. 77% complete.
    
    Preparing plots for ti.sim. 85% complete.
    
    Preparing plots for ti.sim. 92% complete.
    
    Preparing plots for ti.sim. 100% complete.
    
    > plot(TUAR1,type='cv', burn=0.4, CI=0.9) # 5 fold cross validation (CI, burn).
    Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
     invalid value 0 for 'digits' argument
    Calls: plot ... eval -> paste -> format -> format.default -> prettyNum
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘tuts-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plot.tuts_ar1
    > ### Title: Plots and visual diagnostics of tuts_ar1 objects
    > ### Aliases: plot.tuts_ar1
    >
    > ### ** Examples
    >
    > # Note: Most of models included in tuts package are computationally intensive. In the example
    > # below I set parameters to meet CRAN’s testing requirement of maximum 5 sec per example.
    > # A more practical example would contain N=50 in the first line of the code and n.sim=10000.
    >
    > #1. Import or simulate the data (a simulation is chosen for illustrative purposes):
    > DATA=simtuts(N=10,Harmonics=c(4,0,0), sin.ampl=c(10,0, 0), cos.ampl=c(0,0,0),
    + trend=0,y.sd=2, ti.sd=0.2)
    > y=DATA$observed$y.obs
    > ti.mu=DATA$observed$ti.obs.tnorm
    > ti.sd= rep(0.2, length(ti.mu))
    >
    > #2. Fit the model:
    > n.sim=1000
    > TUAR1=tuar1(y=y,ti.mu=ti.mu,ti.sd=ti.sd,n.sim=n.sim,CV=TRUE,n.cores=2)
    Compiling model graph
     Resolving undeclared variables
     Allocating nodes
    Graph information:
     Observed stochastic nodes: 9
     Unobserved stochastic nodes: 13
     Total graph size: 104
    
    Initializing model
    
    [1] Cross-validation of the model....
    >
    > #3. Generate plots and diagnostics of the model (optional parameters are listed in brackets):
    > plot(TUAR1,type='predTUTS') # One step out of salmple predictions (CI, burn).
    > plot(TUAR1,type='par', burn=0.4) # Distributions of parameters (burn).
    > plot(TUAR1,type='mcmc') # MCMC diagnostics.
    
    
    Preparing plots for const. 8% complete.
    
    Preparing plots for alpha1. 15% complete.
    
    Preparing plots for precision. 23% complete.
    
    Preparing plots for ti.sim. 31% complete.
    
    Preparing plots for ti.sim. 38% complete.
    
    Preparing plots for ti.sim. 46% complete.
    
    Preparing plots for ti.sim. 54% complete.
    
    Preparing plots for ti.sim. 62% complete.
    
    Preparing plots for ti.sim. 69% complete.
    
    Preparing plots for ti.sim. 77% complete.
    
    Preparing plots for ti.sim. 85% complete.
    
    Preparing plots for ti.sim. 92% complete.
    
    Preparing plots for ti.sim. 100% complete.
    
    > plot(TUAR1,type='cv', burn=0.4, CI=0.9) # 5 fold cross validation (CI, burn).
    Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
     invalid value 0 for 'digits' argument
    Calls: plot ... eval -> paste -> format -> format.default -> prettyNum
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in 'tuts-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: plot.tuts_ar1
    > ### Title: Plots and visual diagnostics of tuts_ar1 objects
    > ### Aliases: plot.tuts_ar1
    >
    > ### ** Examples
    >
    > # Note: Most of models included in tuts package are computationally intensive. In the example
    > # below I set parameters to meet CRAN<c2><92>s testing requirement of maximum 5 sec per example.
    > # A more practical example would contain N=50 in the first line of the code and n.sim=10000.
    >
    > #1. Import or simulate the data (a simulation is chosen for illustrative purposes):
    > DATA=simtuts(N=10,Harmonics=c(4,0,0), sin.ampl=c(10,0, 0), cos.ampl=c(0,0,0),
    + trend=0,y.sd=2, ti.sd=0.2)
    > y=DATA$observed$y.obs
    > ti.mu=DATA$observed$ti.obs.tnorm
    > ti.sd= rep(0.2, length(ti.mu))
    >
    > #2. Fit the model:
    > n.sim=1000
    > TUAR1=tuar1(y=y,ti.mu=ti.mu,ti.sd=ti.sd,n.sim=n.sim,CV=TRUE,n.cores=2)
    Compiling model graph
     Resolving undeclared variables
     Allocating nodes
    Graph information:
     Observed stochastic nodes: 9
     Unobserved stochastic nodes: 13
     Total graph size: 104
    
    Initializing model
    
    [1] Cross-validation of the model....
    >
    > #3. Generate plots and diagnostics of the model (optional parameters are listed in brackets):
    > plot(TUAR1,type='predTUTS') # One step out of salmple predictions (CI, burn).
    > plot(TUAR1,type='par', burn=0.4) # Distributions of parameters (burn).
    > plot(TUAR1,type='mcmc') # MCMC diagnostics.
    
    
    Preparing plots for const. 8% complete.
    
    Preparing plots for alpha1. 15% complete.
    
    Preparing plots for precision. 23% complete.
    
    Preparing plots for ti.sim. 31% complete.
    
    Preparing plots for ti.sim. 38% complete.
    
    Preparing plots for ti.sim. 46% complete.
    
    Preparing plots for ti.sim. 54% complete.
    
    Preparing plots for ti.sim. 62% complete.
    
    Preparing plots for ti.sim. 69% complete.
    
    Preparing plots for ti.sim. 77% complete.
    
    Preparing plots for ti.sim. 85% complete.
    
    Preparing plots for ti.sim. 92% complete.
    
    Preparing plots for ti.sim. 100% complete.
    
    > plot(TUAR1,type='cv', burn=0.4, CI=0.9) # 5 fold cross validation (CI, burn).
    Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
     invalid value 0 for 'digits' argument
    Calls: plot ... eval -> paste -> format -> format.default -> prettyNum
    Execution halted
Flavors: r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT

Version: 0.1.1
Check: package dependencies
Result: ERROR
    Package required but not available: ‘rjags’
    
    See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
    manual.
Flavor: r-release-macos-arm64