Last updated on 2025-04-12 20:52:16 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
dsem | 3 | 2 | 9 |
ecostate | 14 | ||
phylosem | 5 | 10 | |
tinyVAST | 1 | 6 | 8 |
Current CRAN status: ERROR: 3, NOTE: 2, OK: 9
Version: 1.6.0
Check: installed package size
Result: NOTE
installed size is 85.2Mb
sub-directories of 1Mb or more:
libs 84.4Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Version: 1.6.0
Check: examples
Result: ERROR
Running examples in ‘dsem-Ex.R’ failed
The error most likely occurred in:
> ### Name: dsemRTMB
> ### Title: Fit dynamic structural equation model
> ### Aliases: dsemRTMB
>
> ### ** Examples
>
> # Define model
> sem = "
+ # Link, lag, param_name
+ cprofits -> consumption, 0, a1
+ cprofits -> consumption, 1, a2
+ pwage -> consumption, 0, a3
+ gwage -> consumption, 0, a3
+ cprofits -> invest, 0, b1
+ cprofits -> invest, 1, b2
+ capital -> invest, 0, b3
+ gnp -> pwage, 0, c2
+ gnp -> pwage, 1, c3
+ time -> pwage, 0, c1
+ "
>
> # Load data
> data(KleinI, package="AER")
> TS = ts(data.frame(KleinI, "time"=time(KleinI) - 1931))
> tsdata = TS[,c("time","gnp","pwage","cprofits",'consumption',
+ "gwage","invest","capital")]
>
> # Fit model
> fit = dsemRTMB( sem=sem,
+ tsdata = tsdata,
+ estimate_delta0 = TRUE,
+ control = dsem_control(quiet=TRUE) )
Read 10 records
Error in advector(e1) :
Invalid argument to 'advector' (lost class attribute?)
Calls: dsemRTMB ... dgmrf -> as.vector -> Ops.advector -> Arith2 -> advector
Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Version: 1.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(dsem)
>
> # Run tests
> testthat::test_check("dsem")
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
3 x_tj 200 Random
Read 4 records
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 lnsigma_j 2 Fixed
4 mu_j 2 Random
5 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
4 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
4 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 10 records
Coefficient_name Number_of_coefficients Type
1 beta_z 17 Fixed
2 mu_j 8 Random
Read 10 records
Read 0 records
Coefficient_name Number_of_coefficients Type
1 beta_z 2 Fixed
2 mu_j 2 Random
Read 2 records
Coefficient_name Number_of_coefficients Type
1 beta_z 2 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 4 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 lnsigma_j 2 Fixed
2 mu_j 2 Random
3 x_tj 122 Random
Read 4 records
Read 16 records
Coefficient_name Number_of_coefficients Type
1 beta_z 24 Fixed
2 mu_j 8 Fixed
3 x_tj 232 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 5 Fixed
2 mu_j 4 Random
Read 4 records
Read 16 records
[ FAIL 7 | WARN 10 | SKIP 0 | PASS 4 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-distributions.R:35:3'): dsem example is working ───────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-distributions.R:35:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Failure ('test-gmrf-versions.R:75:3'): dsem constant-variance options ──────
apply(margvar, MARGIN = 2, FUN = sd) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NA - 0 == NA
[2] NA - 0 == NA
── Failure ('test-gmrf-versions.R:94:3'): dsem constant-variance options ──────
apply(margvar, MARGIN = 2, FUN = sd) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NA - 0 == NA
[2] NA - 0 == NA
── Error ('test-platform.R:34:3'): dsem example is working ────────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(sem = sem, tsdata = tsdata, control = dsem_control(getsd = FALSE)) at test-platform.R:34:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-platform.R:135:3'): dsem works with fixed variances ───────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-platform.R:135:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-platform.R:202:3'): Fixing parameters works ───────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(sem = sem, tsdata = tsdata, control = dsem_control(getsd = FALSE)) at test-platform.R:202:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-priors.R:43:3'): priors interface is working ──────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-priors.R:43:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
[ FAIL 7 | WARN 10 | SKIP 0 | PASS 4 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.6.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [9s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(dsem)
>
> # Run tests
> testthat::test_check("dsem")
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
3 x_tj 200 Random
Read 4 records
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 lnsigma_j 2 Fixed
4 mu_j 2 Random
5 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
4 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
4 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 10 records
Coefficient_name Number_of_coefficients Type
1 beta_z 17 Fixed
2 mu_j 8 Random
Read 10 records
Read 0 records
Coefficient_name Number_of_coefficients Type
1 beta_z 2 Fixed
2 mu_j 2 Random
Read 2 records
Coefficient_name Number_of_coefficients Type
1 beta_z 2 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 4 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 lnsigma_j 2 Fixed
2 mu_j 2 Random
3 x_tj 122 Random
Read 4 records
Read 16 records
Coefficient_name Number_of_coefficients Type
1 beta_z 24 Fixed
2 mu_j 8 Fixed
3 x_tj 232 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 5 Fixed
2 mu_j 4 Random
Read 4 records
Read 16 records
[ FAIL 7 | WARN 10 | SKIP 0 | PASS 4 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-distributions.R:35:3'): dsem example is working ───────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-distributions.R:35:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Failure ('test-gmrf-versions.R:75:3'): dsem constant-variance options ──────
apply(margvar, MARGIN = 2, FUN = sd) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NA - 0 == NA
[2] NA - 0 == NA
── Failure ('test-gmrf-versions.R:94:3'): dsem constant-variance options ──────
apply(margvar, MARGIN = 2, FUN = sd) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NA - 0 == NA
[2] NA - 0 == NA
── Error ('test-platform.R:34:3'): dsem example is working ────────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(sem = sem, tsdata = tsdata, control = dsem_control(getsd = FALSE)) at test-platform.R:34:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-platform.R:135:3'): dsem works with fixed variances ───────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-platform.R:135:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-platform.R:202:3'): Fixing parameters works ───────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(sem = sem, tsdata = tsdata, control = dsem_control(getsd = FALSE)) at test-platform.R:202:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-priors.R:43:3'): priors interface is working ──────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-priors.R:43:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
[ FAIL 7 | WARN 10 | SKIP 0 | PASS 4 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-macos-x86_64
Version: 1.6.0
Check: tests
Result: ERROR
Running 'testthat.R' [18s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
>
>
> library(testthat)
> library(dsem)
>
> # Run tests
> testthat::test_check("dsem")
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
3 x_tj 200 Random
Read 4 records
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 lnsigma_j 2 Fixed
4 mu_j 2 Random
5 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
4 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 7 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
4 x_tj 122 Random
Read 5 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 6 Fixed
2 delta0_j 2 Fixed
3 mu_j 2 Random
Read 10 records
Coefficient_name Number_of_coefficients Type
1 beta_z 17 Fixed
2 mu_j 8 Random
Read 10 records
Read 0 records
Coefficient_name Number_of_coefficients Type
1 beta_z 2 Fixed
2 mu_j 2 Random
Read 2 records
Coefficient_name Number_of_coefficients Type
1 beta_z 2 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 4 Fixed
2 mu_j 2 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 lnsigma_j 2 Fixed
2 mu_j 2 Random
3 x_tj 122 Random
Read 4 records
Read 16 records
Coefficient_name Number_of_coefficients Type
1 beta_z 24 Fixed
2 mu_j 8 Fixed
3 x_tj 232 Random
Read 4 records
Coefficient_name Number_of_coefficients Type
1 beta_z 5 Fixed
2 mu_j 4 Random
Read 4 records
Read 16 records
[ FAIL 7 | WARN 10 | SKIP 0 | PASS 4 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-distributions.R:35:3'): dsem example is working ───────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-distributions.R:35:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Failure ('test-gmrf-versions.R:75:3'): dsem constant-variance options ──────
apply(margvar, MARGIN = 2, FUN = sd) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NA - 0 == NA
[2] NA - 0 == NA
── Failure ('test-gmrf-versions.R:94:3'): dsem constant-variance options ──────
apply(margvar, MARGIN = 2, FUN = sd) not equal to c(0, 0).
2/2 mismatches (average diff: NaN)
[1] NA - 0 == NA
[2] NA - 0 == NA
── Error ('test-platform.R:34:3'): dsem example is working ────────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(sem = sem, tsdata = tsdata, control = dsem_control(getsd = FALSE)) at test-platform.R:34:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-platform.R:135:3'): dsem works with fixed variances ───────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-platform.R:135:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-platform.R:202:3'): Fixing parameters works ───────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(sem = sem, tsdata = tsdata, control = dsem_control(getsd = FALSE)) at test-platform.R:202:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
── Error ('test-priors.R:43:3'): priors interface is working ──────────────────
Error in `advector(e2)`: Invalid argument to 'advector' (lost class attribute?)
Backtrace:
▆
1. └─dsem::dsemRTMB(...) at test-priors.R:43:3
2. └─RTMB::MakeADFun(...)
3. └─obj$retape()
4. └─RTMB:::MakeADFunObject(...)
5. └─RTMB:::.MakeTape(mapfunc, obj$env$par)
6. └─RTMB (local) f(x)
7. └─dsem (local) func(pl)
8. └─dsem (local) f(p, ...)
9. └─RTMB::dgmrf(...)
10. └─RTMB::Ops.advector(as.vector(x), as.vector(mu))
11. ├─RTMB:::Arith2(advector(e1), advector(e2), .Generic)
12. └─RTMB::advector(e2)
[ FAIL 7 | WARN 10 | SKIP 0 | PASS 4 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64
Current CRAN status: OK: 14
Current CRAN status: NOTE: 5, OK: 10
Version: 1.1.4
Check: re-building of vignette outputs
Result: NOTE
Note: skipping ‘fisheries.Rmd’ due to unavailable dependencies:
'phylosignal'
Flavor: r-devel-macos-x86_64
Version: 1.1.4
Check: installed package size
Result: NOTE
installed size is 62.9Mb
sub-directories of 1Mb or more:
libs 62.1Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: ERROR: 1, NOTE: 6, OK: 8
Version: 1.0.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
>
>
> library(testthat)
> library(tinyVAST)
>
> # Run tests
> testthat::test_check("tinyVAST")
Starting 2 test processes
Error in `private$handle_error()`:
! testthat subprocess failed to start, stderr:
Error: package or namespace load failed for 'tinyVAST' in ans[ypos] <- rep(yes, length.out = len)[ypos]:
Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
Caused by error:
! R session crashed with exit code 1
Backtrace:
▆
1. └─testthat::test_check("tinyVAST")
2. └─testthat::test_dir(...)
3. └─testthat:::test_files(...)
4. └─testthat:::test_files_parallel(...)
5. ├─withr::with_dir(...)
6. │ └─base::force(code)
7. ├─testthat::with_reporter(...)
8. │ └─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─testthat:::parallel_event_loop_chunky(queue, reporters, ".")
13. └─queue$poll(Inf)
14. └─base::lapply(...)
15. └─testthat (local) FUN(X[[i]], ...)
16. └─private$handle_error(msg, i)
17. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.1
Check: installed package size
Result: NOTE
installed size is 95.8Mb
sub-directories of 1Mb or more:
data 2.3Mb
libs 92.5Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.