Last updated on 2023-02-03 04:51:16 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
antaresEditObject | 13 | ||
antaresProcessing | 1 | 12 | |
antaresRead | 8 | 5 | |
antaresViz | 4 | 9 | |
leaflet.minicharts | 13 | ||
manipulateWidget | 6 | 7 | |
spMaps | 12 |
Current CRAN status: OK: 13
Current CRAN status: NOTE: 1, OK: 12
Version: 0.18.1
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘rhdf5’
Flavor: r-release-macos-arm64
Current CRAN status: NOTE: 8, OK: 5
Version: 2.3.1
Check: installed package size
Result: NOTE
installed size is 5.1Mb
sub-directories of 1Mb or more:
test_v8 2.0Mb
testdata 2.4Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, 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-ix86+x86_64
Current CRAN status: ERROR: 4, OK: 9
Version: 0.17.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [112s/141s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(antaresViz)
Loading required package: antaresRead
Loading required package: antaresProcessing
Attaching package: 'antaresProcessing'
The following object is masked from 'package:testthat':
compare
Loading required package: spMaps
Loading required package: sp
Loading required package: raster
Attaching package: 'raster'
The following object is masked from 'package:antaresProcessing':
getValues
The following object is masked from 'package:antaresRead':
readIniFile
Loading required package: rgeos
rgeos version: 0.6-1, (SVN revision 692)
GEOS runtime version: 3.11.1-CAPI-1.17.1
Please note that rgeos will be retired during 2023,
plan transition to sf functions using GEOS at your earliest convenience.
GEOS using OverlayNG
Linking to sp version: 1.6-0
Polygon checking: TRUE
>
> test_check("antaresViz")
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• .runExchangesStackTest is not TRUE (8)
• .runProdStackTest is not TRUE (4)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-exchangesStack.R:59'): exchangesStack, no interactive, x and refStudy are antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:59:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:59:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:87'): exchangesStack, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:87:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:87:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:147'): exchangesStack, no interactive, x is a list of antaresDataTable and refStudy an antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:147:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:147:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:181'): exchangesStack, no interactive, x is a list of antaresDataList and refStudy an antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:181:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:181:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:50'): prodStack must work with refStudy, if x and refStudy are antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:50:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:50:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:84'): prodStack must work with refStudy, if x is a list of antaresDataList and refStudy an antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:84:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:84:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:284'): prodStack must work with refStudy, if interactive is set to TRUE and if x and refStudy are antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3) at test-prodStack.R:284:2
── Error ('test-prodStack.R:338'): prodStack must work with refStudy, if interactive is set to TRUE and if x a list of antaresData and refStudy an antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 2) at test-prodStack.R:338:2
── Error ('test-prodStack.R:388'): prodStack must work with refStudy, if interactive is set to TRUE and if x is an antaresDataList and refStudy an antaresDataList, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 1) at test-prodStack.R:388:2
── Error ('test-prodStack.R:442'): prodStack must work with refStudy, if interactive is set to TRUE and if x is a list of antaresDataList and refStudy an antaresDataList , ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 3) at test-prodStack.R:442:2
── Error ('test-ts_plot.R:45'): tsPlot, work with compare ──────────────────────
Error in ``>.POSIXt`(dt$time[1], dateRange[1])`: object 'check_tzones' not found
Backtrace:
▆
1. └─exList$setValue("mcYear", 1, chartId = 1, reactive = FALSE) at test-ts_plot.R:45:2
2. └─manipulateWidget (local) updateChart(chartId)
3. └─base::eval(expr, envir = e)
4. └─base::eval(expr, envir = e)
5. └─params[["x"]][[ind]][[table]]$plotFun(...)
6. └─lubridate (local) `>.POSIXt`(dt$time[1], dateRange[1])
── Error ('test-ts_plot.R:140'): tsPlot, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, mcYear, timeId, time, day and 12 more
Backtrace:
▆
1. ├─...[] at test-ts_plot.R:140:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:140:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-ts_plot.R:153'): (code run outside of `test_that()`) ───────────
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. └─testthat::describe(...) at test-ts_plot.R:153:0
2. └─base::eval(substitute(code), describe_environment)
3. └─base::eval(substitute(code), describe_environment)
4. ├─...[] at test-ts_plot.R:193:4
5. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:193:4
6. ├─base::NextMethod("[", x)
7. └─data.table:::`[.data.table`(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. └─value[[3L]](cond)
12. └─data.table:::.checkTypos(e, names_x)
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.17.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [85s/100s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(antaresViz)
Loading required package: antaresRead
Loading required package: antaresProcessing
Attaching package: 'antaresProcessing'
The following object is masked from 'package:testthat':
compare
Loading required package: spMaps
Loading required package: sp
Loading required package: raster
Attaching package: 'raster'
The following object is masked from 'package:antaresProcessing':
getValues
The following object is masked from 'package:antaresRead':
readIniFile
Loading required package: rgeos
rgeos version: 0.6-1, (SVN revision 692)
GEOS runtime version: 3.10.2-CAPI-1.16.0
Please note that rgeos will be retired during 2023,
plan transition to sf functions using GEOS at your earliest convenience.
GEOS using OverlayNG
Linking to sp version: 1.6-0
Polygon checking: TRUE
>
> test_check("antaresViz")
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• .runExchangesStackTest is not TRUE (8)
• .runProdStackTest is not TRUE (4)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-exchangesStack.R:59'): exchangesStack, no interactive, x and refStudy are antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:59:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:59:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:87'): exchangesStack, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:87:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:87:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:147'): exchangesStack, no interactive, x is a list of antaresDataTable and refStudy an antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:147:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:147:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:181'): exchangesStack, no interactive, x is a list of antaresDataList and refStudy an antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:181:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:181:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:50'): prodStack must work with refStudy, if x and refStudy are antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:50:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:50:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:84'): prodStack must work with refStudy, if x is a list of antaresDataList and refStudy an antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:84:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:84:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:284'): prodStack must work with refStudy, if interactive is set to TRUE and if x and refStudy are antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3) at test-prodStack.R:284:2
── Error ('test-prodStack.R:338'): prodStack must work with refStudy, if interactive is set to TRUE and if x a list of antaresData and refStudy an antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 2) at test-prodStack.R:338:2
── Error ('test-prodStack.R:388'): prodStack must work with refStudy, if interactive is set to TRUE and if x is an antaresDataList and refStudy an antaresDataList, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 1) at test-prodStack.R:388:2
── Error ('test-prodStack.R:442'): prodStack must work with refStudy, if interactive is set to TRUE and if x is a list of antaresDataList and refStudy an antaresDataList , ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 3) at test-prodStack.R:442:2
── Error ('test-ts_plot.R:45'): tsPlot, work with compare ──────────────────────
Error in ``>.POSIXt`(dt$time[1], dateRange[1])`: object 'check_tzones' not found
Backtrace:
▆
1. └─exList$setValue("mcYear", 1, chartId = 1, reactive = FALSE) at test-ts_plot.R:45:2
2. └─manipulateWidget (local) updateChart(chartId)
3. └─base::eval(expr, envir = e)
4. └─base::eval(expr, envir = e)
5. └─params[["x"]][[ind]][[table]]$plotFun(...)
6. └─lubridate (local) `>.POSIXt`(dt$time[1], dateRange[1])
── Error ('test-ts_plot.R:140'): tsPlot, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, mcYear, timeId, time, day and 12 more
Backtrace:
▆
1. ├─...[] at test-ts_plot.R:140:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:140:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-ts_plot.R:153'): (code run outside of `test_that()`) ───────────
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. └─testthat::describe(...) at test-ts_plot.R:153:0
2. └─base::eval(substitute(code), describe_environment)
3. └─base::eval(substitute(code), describe_environment)
4. ├─...[] at test-ts_plot.R:193:4
5. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:193:4
6. ├─base::NextMethod("[", x)
7. └─data.table:::`[.data.table`(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. └─value[[3L]](cond)
12. └─data.table:::.checkTypos(e, names_x)
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.17.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [90s/181s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(antaresViz)
Loading required package: antaresRead
Loading required package: antaresProcessing
Attaching package: 'antaresProcessing'
The following object is masked from 'package:testthat':
compare
Loading required package: spMaps
Loading required package: sp
Loading required package: raster
Attaching package: 'raster'
The following object is masked from 'package:antaresProcessing':
getValues
The following object is masked from 'package:antaresRead':
readIniFile
Loading required package: rgeos
rgeos version: 0.6-1, (SVN revision 692)
GEOS runtime version: 3.10.2-CAPI-1.16.0
Please note that rgeos will be retired during 2023,
plan transition to sf functions using GEOS at your earliest convenience.
GEOS using OverlayNG
Linking to sp version: 1.6-0
Polygon checking: TRUE
>
> test_check("antaresViz")
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• .runExchangesStackTest is not TRUE (8)
• .runProdStackTest is not TRUE (4)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-exchangesStack.R:59'): exchangesStack, no interactive, x and refStudy are antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:59:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:59:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:87'): exchangesStack, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:87:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:87:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:147'): exchangesStack, no interactive, x is a list of antaresDataTable and refStudy an antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:147:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:147:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:181'): exchangesStack, no interactive, x is a list of antaresDataList and refStudy an antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:181:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:181:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:50'): prodStack must work with refStudy, if x and refStudy are antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:50:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:50:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:84'): prodStack must work with refStudy, if x is a list of antaresDataList and refStudy an antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:84:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:84:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:284'): prodStack must work with refStudy, if interactive is set to TRUE and if x and refStudy are antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3) at test-prodStack.R:284:2
── Error ('test-prodStack.R:338'): prodStack must work with refStudy, if interactive is set to TRUE and if x a list of antaresData and refStudy an antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 2) at test-prodStack.R:338:2
── Error ('test-prodStack.R:388'): prodStack must work with refStudy, if interactive is set to TRUE and if x is an antaresDataList and refStudy an antaresDataList, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 1) at test-prodStack.R:388:2
── Error ('test-prodStack.R:442'): prodStack must work with refStudy, if interactive is set to TRUE and if x is a list of antaresDataList and refStudy an antaresDataList , ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 3) at test-prodStack.R:442:2
── Error ('test-ts_plot.R:45'): tsPlot, work with compare ──────────────────────
Error in ``>.POSIXt`(dt$time[1], dateRange[1])`: object 'check_tzones' not found
Backtrace:
▆
1. └─exList$setValue("mcYear", 1, chartId = 1, reactive = FALSE) at test-ts_plot.R:45:2
2. └─manipulateWidget (local) updateChart(chartId)
3. └─base::eval(expr, envir = e)
4. └─base::eval(expr, envir = e)
5. └─params[["x"]][[ind]][[table]]$plotFun(...)
6. └─lubridate (local) `>.POSIXt`(dt$time[1], dateRange[1])
── Error ('test-ts_plot.R:140'): tsPlot, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, mcYear, timeId, time, day and 12 more
Backtrace:
▆
1. ├─...[] at test-ts_plot.R:140:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:140:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-ts_plot.R:153'): (code run outside of `test_that()`) ───────────
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. └─testthat::describe(...) at test-ts_plot.R:153:0
2. └─base::eval(substitute(code), describe_environment)
3. └─base::eval(substitute(code), describe_environment)
4. ├─...[] at test-ts_plot.R:193:4
5. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:193:4
6. ├─base::NextMethod("[", x)
7. └─data.table:::`[.data.table`(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. └─value[[3L]](cond)
12. └─data.table:::.checkTypos(e, names_x)
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.17.1
Check: tests
Result: ERROR
Running 'testthat.R' [64s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(antaresViz)
Loading required package: antaresRead
Loading required package: antaresProcessing
Attaching package: 'antaresProcessing'
The following object is masked from 'package:testthat':
compare
Loading required package: spMaps
Loading required package: sp
Loading required package: raster
Attaching package: 'raster'
The following object is masked from 'package:antaresProcessing':
getValues
The following object is masked from 'package:antaresRead':
readIniFile
Loading required package: rgeos
rgeos version: 0.6-1, (SVN revision 692)
GEOS runtime version: 3.11.1-CAPI-1.17.1
Please note that rgeos will be retired during 2023,
plan transition to sf functions using GEOS at your earliest convenience.
GEOS using OverlayNG
Linking to sp version: 1.6-0
Polygon checking: TRUE
>
> test_check("antaresViz")
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
══ Skipped tests ═══════════════════════════════════════════════════════════════
• .runExchangesStackTest is not TRUE (8)
• .runProdStackTest is not TRUE (4)
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-exchangesStack.R:59'): exchangesStack, no interactive, x and refStudy are antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:59:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:59:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:87'): exchangesStack, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:87:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:87:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:147'): exchangesStack, no interactive, x is a list of antaresDataTable and refStudy an antaresDataTable ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:147:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:147:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-exchangesStack.R:181'): exchangesStack, no interactive, x is a list of antaresDataList and refStudy an antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. ├─...[] at test-exchangesStack.R:181:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-exchangesStack.R:181:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:50'): prodStack must work with refStudy, if x and refStudy are antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:50:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:50:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:84'): prodStack must work with refStudy, if x is a list of antaresDataList and refStudy an antaresDataList, ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst area, timeId, time, day, month and 123 more
Backtrace:
▆
1. ├─...[] at test-prodStack.R:84:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-prodStack.R:84:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-prodStack.R:284'): prodStack must work with refStudy, if interactive is set to TRUE and if x and refStudy are antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3) at test-prodStack.R:284:2
── Error ('test-prodStack.R:338'): prodStack must work with refStudy, if interactive is set to TRUE and if x a list of antaresData and refStudy an antaresData, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 2) at test-prodStack.R:338:2
── Error ('test-prodStack.R:388'): prodStack must work with refStudy, if interactive is set to TRUE and if x is an antaresDataList and refStudy an antaresDataList, ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 1) at test-prodStack.R:388:2
── Error ('test-prodStack.R:442'): prodStack must work with refStudy, if interactive is set to TRUE and if x is a list of antaresDataList and refStudy an antaresDataList , ──
Error in `htmlwidget$charts[[widgetsNumber]]$widgets[[1]]$x`: $ operator is invalid for atomic vectors
Backtrace:
▆
1. └─antaresViz:::.get_data_from_htmlwidget(PS3, widgetsNumber = 3) at test-prodStack.R:442:2
── Error ('test-ts_plot.R:45'): tsPlot, work with compare ──────────────────────
Error in ``>.POSIXt`(dt$time[1], dateRange[1])`: object 'check_tzones' not found
Backtrace:
▆
1. └─exList$setValue("mcYear", 1, chartId = 1, reactive = FALSE) at test-ts_plot.R:45:2
2. └─manipulateWidget (local) updateChart(chartId)
3. └─base::eval(expr, envir = e)
4. └─base::eval(expr, envir = e)
5. └─params[["x"]][[ind]][[table]]$plotFun(...)
6. └─lubridate (local) `>.POSIXt`(dt$time[1], dateRange[1])
── Error ('test-ts_plot.R:140'): tsPlot, no interactive, x and refStudy are antaresDataList ──
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, mcYear, timeId, time, day and 12 more
Backtrace:
▆
1. ├─...[] at test-ts_plot.R:140:4
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:140:4
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. └─value[[3L]](cond)
9. └─data.table:::.checkTypos(e, names_x)
── Error ('test-ts_plot.R:153'): (code run outside of `test_that()`) ───────────
Error in `.checkTypos(e, names_x)`: Object 'check_tzones' not found amongst link, timeId, time, day, month and 29 more
Backtrace:
▆
1. └─testthat::describe(...) at test-ts_plot.R:153:0
2. └─base::eval(substitute(code), describe_environment)
3. └─base::eval(substitute(code), describe_environment)
4. ├─...[] at test-ts_plot.R:193:4
5. ├─antaresRead:::`[.antaresDataTable`(...) at test-ts_plot.R:193:4
6. ├─base::NextMethod("[", x)
7. └─data.table:::`[.data.table`(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. └─value[[3L]](cond)
12. └─data.table:::.checkTypos(e, names_x)
[ FAIL 13 | WARN 1 | SKIP 12 | PASS 200 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: NOTE: 6, OK: 7
Version: 0.11.1
Check: data for non-ASCII characters
Result: NOTE
Note: found 55 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64
Current CRAN status: NOTE: 12
Version: 0.4.0
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-patched-linux-x86_64, r-release-linux-x86_64, 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-ix86+x86_64
Version: 0.4.0
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘antaresViz’
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64
Version: 0.4.0
Check: Rd cross-references
Result: NOTE
Package unavailable to check Rd xrefs: ‘antaresViz’
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64