Last updated on 2019-03-01 08:49:52 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.7 | 4.72 | 117.31 | 122.03 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.7 | 3.48 | 92.10 | 95.58 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.7 | 175.47 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.7 | 153.49 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.1.7 | 8.00 | 145.00 | 153.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.7 | ERROR | ||||
r-patched-solaris-x86 | 0.1.7 | 262.90 | ERROR | |||
r-release-linux-x86_64 | 0.1.7 | 4.19 | 126.25 | 130.44 | ERROR | |
r-release-windows-ix86+x86_64 | 0.1.7 | 11.00 | 168.00 | 179.00 | ERROR | |
r-release-osx-x86_64 | 0.1.7 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.7 | 11.00 | 207.00 | 218.00 | ERROR | |
r-oldrel-osx-x86_64 | 0.1.7 | NOTE |
Version: 0.1.7
Check: examples
Result: ERROR
Running examples in ‘zFactor-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: z.plot.range
> ### Title: Tile plot of best fit area for a correlation
> ### Aliases: z.plot.range
>
> ### ** Examples
>
> # plot Dranchuk-AbouKassem
> z.plot.range("DAK")
Error in n() : could not find function "n"
Calls: z.plot.range ... z.stats -> summarise -> summarise.tbl_df -> summarise_impl
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
── 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ─────────
could not find function "n"
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
══ testthat results ═══════════════════════════════════════════════════════════
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.7
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building ‘Ann10.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Ann10.Rmd’
--- re-building ‘Beggs-Brill.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Beggs-Brill.Rmd’
--- re-building ‘Dranchuk-AbouKassem.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Dranchuk-AbouKassem.Rmd’
--- re-building ‘Dranchuk-Purvis-Robinson.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Dranchuk-Purvis-Robinson.Rmd’
--- re-building ‘Hall-Yarborough.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Hall-Yarborough.Rmd’
--- re-building ‘Papp.Rmd’ using rmarkdown
No results.
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Papp.Rmd’
--- re-building ‘Plot_StandingKatz_lp.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
--- finished re-building ‘Plot_StandingKatz_lp.Rmd’
--- re-building ‘Shell.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Shell.Rmd’
--- re-building ‘StandingKatz_chart.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
--- finished re-building ‘StandingKatz_chart.Rmd’
--- re-building ‘correlation_selection.Rmd’ using rmarkdown
Quitting from lines 17-21 (correlation_selection.Rmd)
Error: processing vignette 'correlation_selection.Rmd' failed with diagnostics:
could not find function "n"
--- failed re-building ‘correlation_selection.Rmd’
--- re-building ‘statistics.Rmd’ using rmarkdown
Quitting from lines 15-20 (statistics.Rmd)
Error: processing vignette 'statistics.Rmd' failed with diagnostics:
could not find function "n"
--- failed re-building ‘statistics.Rmd’
SUMMARY: processing the following files failed:
‘correlation_selection.Rmd’ ‘statistics.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [2s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
── 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ─────────
could not find function "n"
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
══ testthat results ═══════════════════════════════════════════════════════════
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.7
Check: dependencies in R code
Result: NOTE
Namespace in Imports field not imported from: ‘rootSolve’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64
Version: 0.1.7
Check: examples
Result: ERROR
Running examples in ‘zFactor-Ex.R’ failed
The error most likely occurred in:
> ### Name: z.plot.range
> ### Title: Tile plot of best fit area for a correlation
> ### Aliases: z.plot.range
>
> ### ** Examples
>
> # plot Dranchuk-AbouKassem
> z.plot.range("DAK")
Error in n() : could not find function "n"
Calls: z.plot.range ... z.stats -> summarise -> summarise.tbl_df -> summarise_impl
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86, r-release-windows-ix86+x86_64
Version: 0.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
── 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ─────────
could not find function "n"
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
══ testthat results ═══════════════════════════════════════════════════════════
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86
Version: 0.1.7
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘Ann10.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Ann10.Rmd’
--- re-building ‘Beggs-Brill.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Beggs-Brill.Rmd’
--- re-building ‘Dranchuk-AbouKassem.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Dranchuk-AbouKassem.Rmd’
--- re-building ‘Dranchuk-Purvis-Robinson.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Dranchuk-Purvis-Robinson.Rmd’
--- re-building ‘Hall-Yarborough.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Hall-Yarborough.Rmd’
--- re-building ‘Papp.Rmd’ using rmarkdown
No results.
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Papp.Rmd’
--- re-building ‘Plot_StandingKatz_lp.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
--- finished re-building ‘Plot_StandingKatz_lp.Rmd’
--- re-building ‘Shell.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Shell.Rmd’
--- re-building ‘StandingKatz_chart.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
--- finished re-building ‘StandingKatz_chart.Rmd’
--- re-building ‘correlation_selection.Rmd’ using rmarkdown
Quitting from lines 17-21 (correlation_selection.Rmd)
Error: processing vignette 'correlation_selection.Rmd' failed with diagnostics:
could not find function "n"
--- failed re-building ‘correlation_selection.Rmd’
--- re-building ‘statistics.Rmd’ using rmarkdown
Quitting from lines 15-20 (statistics.Rmd)
Error: processing vignette 'statistics.Rmd' failed with diagnostics:
could not find function "n"
--- failed re-building ‘statistics.Rmd’
SUMMARY: processing the following files failed:
‘correlation_selection.Rmd’ ‘statistics.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.7
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘Ann10.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Ann10.Rmd’
--- re-building ‘Beggs-Brill.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Beggs-Brill.Rmd’
--- re-building ‘Dranchuk-AbouKassem.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Dranchuk-AbouKassem.Rmd’
--- re-building ‘Dranchuk-Purvis-Robinson.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Dranchuk-Purvis-Robinson.Rmd’
--- re-building ‘Hall-Yarborough.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Hall-Yarborough.Rmd’
--- re-building ‘Papp.Rmd’ using rmarkdown
No results.
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Papp.Rmd’
--- re-building ‘Plot_StandingKatz_lp.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
--- finished re-building ‘Plot_StandingKatz_lp.Rmd’
--- re-building ‘Shell.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
--- finished re-building ‘Shell.Rmd’
--- re-building ‘StandingKatz_chart.Rmd’ using rmarkdown
Warning: `as.tibble()` is deprecated, use `as_tibble()` (but mind the new semantics).
This warning is displayed once per session.
--- finished re-building ‘StandingKatz_chart.Rmd’
--- re-building ‘correlation_selection.Rmd’ using rmarkdown
Quitting from lines 17-21 (correlation_selection.Rmd)
Error: processing vignette 'correlation_selection.Rmd' failed with diagnostics:
could not find function "n"
--- failed re-building ‘correlation_selection.Rmd’
--- re-building ‘statistics.Rmd’ using rmarkdown
Quitting from lines 15-20 (statistics.Rmd)
Error: processing vignette 'statistics.Rmd' failed with diagnostics:
could not find function "n"
--- failed re-building ‘statistics.Rmd’
SUMMARY: processing the following files failed:
‘correlation_selection.Rmd’ ‘statistics.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64
Version: 0.1.7
Check: tests
Result: ERROR
Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
-- 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ---------
could not find function "n"
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
== testthat results ===========================================================
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.1.7
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
── 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
── 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ─────────
could not find function "n"
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
══ testthat results ═══════════════════════════════════════════════════════════
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.7
Check: tests
Result: ERROR
Running 'testthat.R' [2s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
-- 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
could not find function "n"
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ---------
could not find function "n"
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
== testthat results ===========================================================
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 0.1.7
Check: examples
Result: ERROR
Running examples in 'zFactor-Ex.R' failed
The error most likely occurred in:
> ### Name: z.plot.range
> ### Title: Tile plot of best fit area for a correlation
> ### Aliases: z.plot.range
>
> ### ** Examples
>
> # plot Dranchuk-AbouKassem
> z.plot.range("DAK")
Error: Evaluation error: could not find function "n".
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64
Version: 0.1.7
Check: tests
Result: ERROR
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(zFactor)
>
> test_check("zFactor")
-- 1. Error: z.stats matches dimension and mean of MAPE. default interval = coar
Evaluation error: could not find function "n".
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:8
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:8
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_
Evaluation error: could not find function "n".
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:19
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:19
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats
Evaluation error: could not find function "n".
1: sapply(sh_corrs, function(corr) expect_equal(dim(z.stats(corr)), c(112, 11))) at testthat/test_stats.R:30
2: lapply(X = X, FUN = FUN, ...)
3: FUN(X[[i]], ...)
4: expect_equal(dim(z.stats(corr)), c(112, 11)) at testthat/test_stats.R:30
5: quasi_label(enquo(object), label)
6: eval_bare(get_expr(quo), get_env(quo))
7: z.stats(corr)
8: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
9: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
10: summarise_impl(.data, dots, environment(), caller_env())
-- 4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62) ---------
Evaluation error: could not find function "n".
1: expect_silent(z.plot.range("HY")) at testthat/test_stats.R:62
2: quasi_capture(enquo(object), evaluate_promise)
3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
message = handle_message))
5: force(code)
6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
7: withVisible(code)
8: eval_bare(get_expr(quo), get_env(quo))
9: z.plot.range("HY")
10: z.stats(correlation, pprRange, ...)
11: summarise(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)), MPE = sum((z.chart -
z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) * 100/n(),
MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2), MAE = sum(abs(z.chart -
z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
12: summarise.tbl_df(grouped, z.chart, z.calc, RMSE = sqrt(mean((z.chart - z.calc)^2)),
MPE = sum((z.chart - z.calc)/z.chart) * 100/n(), MAPE = sum(abs((z.chart - z.calc)/z.chart)) *
100/n(), MSE = sum((z.chart - z.calc)^2)/n(), RSS = sum((z.chart - z.calc)^2),
MAE = sum(abs(z.chart - z.calc))/n(), MAAPE = sum(atan(abs((z.chart - z.calc)/z.chart)))/n())
13: summarise_impl(.data, dots, environment(), caller_env())
== testthat results ===========================================================
OK: 120 SKIPPED: 0 FAILED: 4
1. Error: z.stats matches dimension and mean of MAPE. default interval = coarse (@test_stats.R#8)
2. Error: z.stats matches dimension and mean of MAPE, interval = fine (@test_stats.R#19)
3. Error: z.stats matches dimension and mean of MAPE, range = hp (@test_stats.R#30)
4. Error: z.plot.range work for Hall-Yarborough (@test_stats.R#62)
Error: testthat unit tests failed
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64