Last updated on 2021-04-13 07:47:50 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.8 | 15.51 | 116.72 | 132.23 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.8 | 11.01 | 86.58 | 97.59 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.1.8 | 175.93 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.8 | 163.72 | ERROR | |||
r-devel-windows-ix86+x86_64 | 0.1.8 | 31.00 | 141.00 | 172.00 | ERROR | |
r-devel-windows-x86_64-gcc10-UCRT | 0.1.8 | NOTE | ||||
r-patched-linux-x86_64 | 0.1.8 | 13.59 | 129.71 | 143.30 | OK | |
r-patched-solaris-x86 | 0.1.8 | 247.90 | NOTE | |||
r-release-linux-x86_64 | 0.1.8 | 11.74 | 130.17 | 141.91 | OK | |
r-release-macos-x86_64 | 0.1.8 | NOTE | ||||
r-release-windows-ix86+x86_64 | 0.1.8 | 31.00 | 171.00 | 202.00 | OK | |
r-oldrel-macos-x86_64 | 0.1.8 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.1.8 | 18.00 | 116.00 | 134.00 | OK |
Version: 0.1.8
Check: examples
Result: ERROR
Running examples in 'nanny-Ex.R' failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rotate_dimensions
> ### Title: Rotate two dimensions (e.g., principal components) of an
> ### arbitrary angle
> ### Aliases: rotate_dimensions rotate_dimensions,spec_tbl_df-method
> ### rotate_dimensions,tbl_df-method
>
> ### ** Examples
>
>
> mtcars_tidy_MDS = reduce_dimensions(mtcars_tidy, car_model, feature, value, method="MDS")
nanny says: to access the raw results do `attr(..., "internals")$MDS`
>
> rotate_dimensions(mtcars_tidy_MDS, `Dim1`, `Dim2`, .element = car_model, rotation_degrees = 45)
Error: Can't subset columns that don't exist.
x Column `Dim1` doesn't exist.
Backtrace:
x
1. +-nanny::rotate_dimensions(...)
2. +-nanny::rotate_dimensions(...)
3. | \-nanny:::get_rotated_dimensions(...)
4. | \-`%>%`(...)
5. +-dplyr::pull(., n)
6. +-dplyr::ungroup(.)
7. +-dplyr::tally(.)
8. +-dplyr::group_by_at(...)
9. | \-dplyr:::manip_at(...)
10. | \-dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
11. | \-dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
12. | \-dplyr::tbl_vars(tbl)
13. | +-dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
14. | | \-base::structure(...)
15. | \-dplyr:::tbl_vars_dispatch(x)
16. +-dplyr::distinct(.)
17. +-dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
18. \-dplyr:::select.data.frame(...)
19. \-tidyselect::eval_select(expr(c(...)), .data)
20. \-tidyselect:::eval_select_impl(...)
21. +-tidyselect:::with_subscript_errors(...)
22. | +-base::tryCatch(...)
23. | | \-base:::tryCatchList(expr, classes, parentenv, handlers)
24. | | \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
25. | | \-base:::doTryCatch(return(expr), name, parentenv, handler)
26. | \-tidyselect:::instrument_base_errors(expr)
27. | \-base::withCallingHandlers(...)
28. \-tidyselect:::vars_select_eval(...)
29. \-tidyselect:::walk_data_tree(expr, data_mask, context_mask)
30. \-tidyselect:::eval_c(expr, data_mask, context_mask)
31. \-tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
32. \-tidyselect:::walk_data_tree(new, data_mask, context_mask)
33. \-tidyselect:::as_indices_sel_impl(...)
34. \-tidyselect:::as_indices_impl(x, vars, strict = strict)
35. \-tidyselect:::chr_as_locations(x, vars)
36. \-vctrs::vec_as_location(x, n = length(vars), names = vars)
37. \-(function () ...
38. \-vctrs:::stop_subscript_oob(...)
39. \-vctrs:::stop_subscript(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.8
Check: tests
Result: ERROR
Running 'testthat.R' [11s/12s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(nanny)
Attaching package: 'nanny'
The following object is masked from 'package:base':
subset
>
> test_check("nanny")
== Failed tests ================================================================
-- Failure (test-methods.R:21:3): reduce dimension MDS -------------------------
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
-- Failure (test-methods.R:24:3): reduce dimension MDS -------------------------
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
-- Error (test-methods.R:29:3): rotate dimensions ------------------------------
Error: Can't subset columns that don't exist.
x Column `Dim1` doesn't exist.
Backtrace:
x
1. +-`%>%`(...) test-methods.R:29:2
2. +-nanny::rotate_dimensions(...)
3. +-nanny::rotate_dimensions(...)
4. | \-nanny:::get_rotated_dimensions(...)
5. | \-`%>%`(...)
6. +-dplyr::pull(., n)
7. +-dplyr::ungroup(.)
8. +-dplyr::tally(.)
9. +-dplyr::group_by_at(...)
10. | \-dplyr:::manip_at(...)
11. | \-dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
12. | \-dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
13. | \-dplyr::tbl_vars(tbl)
14. | +-dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
15. | | \-base::structure(...)
16. | \-dplyr:::tbl_vars_dispatch(x)
17. +-dplyr::distinct(.)
18. +-dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
19. \-dplyr:::select.data.frame(...)
20. \-tidyselect::eval_select(expr(c(...)), .data)
21. \-tidyselect:::eval_select_impl(...)
22. +-tidyselect:::with_subscript_errors(...)
23. | +-base::tryCatch(...)
24. | | \-base:::tryCatchList(expr, classes, parentenv, handlers)
25. | | \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
26. | | \-base:::doTryCatch(return(expr), name, parentenv, handler)
27. | \-tidyselect:::instrument_base_errors(expr)
28. | \-base::withCallingHandlers(...)
29. \-tidyselect:::vars_select_eval(...)
30. \-tidyselect:::walk_data_tree(expr, data_mask, context_mask)
31. \-tidyselect:::eval_c(expr, data_mask, context_mask)
32. \-tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
33. \-tidyselect:::walk_data_tree(new, data_mask, context_mask)
34. \-tidyselect:::as_indices_sel_impl(...)
35. \-tidyselect:::as_indices_impl(x, vars, strict = strict)
36. \-tidyselect:::chr_as_locations(x, vars)
37. \-vctrs::vec_as_location(x, n = length(vars), names = vars)
38. \-(function () ...
39. \-vctrs:::stop_subscript_oob(...)
40. \-vctrs:::stop_subscript(...)
[ FAIL 3 | WARN 6 | SKIP 0 | PASS 28 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.8
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
...
--- re-building 'introdution.Rmd' using knitr
Warning: attributes are not identical across measure variables;
they will be dropped
nanny says: to access the raw results do `attr(..., "internals")$MDS`
Quitting from lines 130-137 (introdution.Rmd)
Error: processing vignette 'introdution.Rmd' failed with diagnostics:
Make sure your numeric 'columns' values are less than or equal to 3.
columns = c(4, 5, 6)
--- failed re-building 'introdution.Rmd'
SUMMARY: processing the following file failed:
'introdution.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.8
Check: examples
Result: ERROR
Running examples in ‘nanny-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rotate_dimensions
> ### Title: Rotate two dimensions (e.g., principal components) of an
> ### arbitrary angle
> ### Aliases: rotate_dimensions rotate_dimensions,spec_tbl_df-method
> ### rotate_dimensions,tbl_df-method
>
> ### ** Examples
>
>
> mtcars_tidy_MDS = reduce_dimensions(mtcars_tidy, car_model, feature, value, method="MDS")
nanny says: to access the raw results do `attr(..., "internals")$MDS`
>
> rotate_dimensions(mtcars_tidy_MDS, `Dim1`, `Dim2`, .element = car_model, rotation_degrees = 45)
Error: Can't subset columns that don't exist.
✖ Column `Dim1` doesn't exist.
Backtrace:
█
1. ├─nanny::rotate_dimensions(...)
2. ├─nanny::rotate_dimensions(...)
3. │ └─nanny:::get_rotated_dimensions(...)
4. │ └─`%>%`(...)
5. ├─dplyr::pull(., n)
6. ├─dplyr::ungroup(.)
7. ├─dplyr::tally(.)
8. ├─dplyr::group_by_at(...)
9. │ └─dplyr:::manip_at(...)
10. │ └─dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
11. │ └─dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
12. │ └─dplyr::tbl_vars(tbl)
13. │ ├─dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
14. │ │ └─base::structure(...)
15. │ └─dplyr:::tbl_vars_dispatch(x)
16. ├─dplyr::distinct(.)
17. ├─dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
18. └─dplyr:::select.data.frame(...)
19. └─tidyselect::eval_select(expr(c(...)), .data)
20. └─tidyselect:::eval_select_impl(...)
21. ├─tidyselect:::with_subscript_errors(...)
22. │ ├─base::tryCatch(...)
23. │ │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
24. │ │ └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
25. │ │ └─base:::doTryCatch(return(expr), name, parentenv, handler)
26. │ └─tidyselect:::instrument_base_errors(expr)
27. │ └─base::withCallingHandlers(...)
28. └─tidyselect:::vars_select_eval(...)
29. └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
30. └─tidyselect:::eval_c(expr, data_mask, context_mask)
31. └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
32. └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
33. └─tidyselect:::as_indices_sel_impl(...)
34. └─tidyselect:::as_indices_impl(x, vars, strict = strict)
35. └─tidyselect:::chr_as_locations(x, vars)
36. └─vctrs::vec_as_location(x, n = length(vars), names = vars)
37. └─(function () ...
38. └─vctrs:::stop_subscript_oob(...)
39. └─vctrs:::stop_subscript(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(nanny)
Attaching package: 'nanny'
The following object is masked from 'package:base':
subset
>
> test_check("nanny")
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-methods.R:21:3): reduce dimension MDS ─────────────────────────
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
── Failure (test-methods.R:24:3): reduce dimension MDS ─────────────────────────
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
── Error (test-methods.R:29:3): rotate dimensions ──────────────────────────────
Error: Can't subset columns that don't exist.
✖ Column `Dim1` doesn't exist.
Backtrace:
█
1. ├─`%>%`(...) test-methods.R:29:2
2. ├─nanny::rotate_dimensions(...)
3. ├─nanny::rotate_dimensions(...)
4. │ └─nanny:::get_rotated_dimensions(...)
5. │ └─`%>%`(...)
6. ├─dplyr::pull(., n)
7. ├─dplyr::ungroup(.)
8. ├─dplyr::tally(.)
9. ├─dplyr::group_by_at(...)
10. │ └─dplyr:::manip_at(...)
11. │ └─dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
12. │ └─dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
13. │ └─dplyr::tbl_vars(tbl)
14. │ ├─dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
15. │ │ └─base::structure(...)
16. │ └─dplyr:::tbl_vars_dispatch(x)
17. ├─dplyr::distinct(.)
18. ├─dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
19. └─dplyr:::select.data.frame(...)
20. └─tidyselect::eval_select(expr(c(...)), .data)
21. └─tidyselect:::eval_select_impl(...)
22. ├─tidyselect:::with_subscript_errors(...)
23. │ ├─base::tryCatch(...)
24. │ │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
25. │ │ └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
26. │ │ └─base:::doTryCatch(return(expr), name, parentenv, handler)
27. │ └─tidyselect:::instrument_base_errors(expr)
28. │ └─base::withCallingHandlers(...)
29. └─tidyselect:::vars_select_eval(...)
30. └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
31. └─tidyselect:::eval_c(expr, data_mask, context_mask)
32. └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
33. └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
34. └─tidyselect:::as_indices_sel_impl(...)
35. └─tidyselect:::as_indices_impl(x, vars, strict = strict)
36. └─tidyselect:::chr_as_locations(x, vars)
37. └─vctrs::vec_as_location(x, n = length(vars), names = vars)
38. └─(function () ...
39. └─vctrs:::stop_subscript_oob(...)
40. └─vctrs:::stop_subscript(...)
[ FAIL 3 | WARN 6 | SKIP 0 | PASS 28 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.8
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘knitr’ ‘lifecycle’ ‘lme4’ ‘methods’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.1.8
Check: examples
Result: ERROR
Running examples in ‘nanny-Ex.R’ failed
The error most likely occurred in:
> ### Name: rotate_dimensions
> ### Title: Rotate two dimensions (e.g., principal components) of an
> ### arbitrary angle
> ### Aliases: rotate_dimensions rotate_dimensions,spec_tbl_df-method
> ### rotate_dimensions,tbl_df-method
>
> ### ** Examples
>
>
> mtcars_tidy_MDS = reduce_dimensions(mtcars_tidy, car_model, feature, value, method="MDS")
nanny says: to access the raw results do `attr(..., "internals")$MDS`
>
> rotate_dimensions(mtcars_tidy_MDS, `Dim1`, `Dim2`, .element = car_model, rotation_degrees = 45)
Error: Can't subset columns that don't exist.
✖ Column `Dim1` doesn't exist.
Backtrace:
█
1. ├─nanny::rotate_dimensions(...)
2. ├─nanny::rotate_dimensions(...)
3. │ └─nanny:::get_rotated_dimensions(...)
4. │ └─`%>%`(...)
5. ├─dplyr::pull(., n)
6. ├─dplyr::ungroup(.)
7. ├─dplyr::tally(.)
8. ├─dplyr::group_by_at(...)
9. │ └─dplyr:::manip_at(...)
10. │ └─dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
11. │ └─dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
12. │ └─dplyr::tbl_vars(tbl)
13. │ ├─dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
14. │ │ └─base::structure(...)
15. │ └─dplyr:::tbl_vars_dispatch(x)
16. ├─dplyr::distinct(.)
17. ├─dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
18. └─dplyr:::select.data.frame(...)
19. └─tidyselect::eval_select(expr(c(...)), .data)
20. └─tidyselect:::eval_select_impl(...)
21. ├─tidyselect:::with_subscript_errors(...)
22. │ ├─base::tryCatch(...)
23. │ │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
24. │ │ └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
25. │ │ └─base:::doTryCatch(return(expr), name, parentenv, handler)
26. │ └─tidyselect:::instrument_base_errors(expr)
27. │ └─base::withCallingHandlers(...)
28. └─tidyselect:::vars_select_eval(...)
29. └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
30. └─tidyselect:::eval_c(expr, data_mask, context_mask)
31. └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
32. └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
33. └─tidyselect:::as_indices_sel_impl(...)
34. └─tidyselect:::as_indices_impl(x, vars, strict = strict)
35. └─tidyselect:::chr_as_locations(x, vars)
36. └─vctrs::vec_as_location(x, n = length(vars), names = vars)
37. └─(function () ...
38. └─vctrs:::stop_subscript_oob(...)
39. └─vctrs:::stop_subscript(...)
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(nanny)
Attaching package: 'nanny'
The following object is masked from 'package:base':
subset
>
> test_check("nanny")
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-methods.R:21:3): reduce dimension MDS ─────────────────────────
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
── Failure (test-methods.R:24:3): reduce dimension MDS ─────────────────────────
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
── Error (test-methods.R:29:3): rotate dimensions ──────────────────────────────
Error: Can't subset columns that don't exist.
✖ Column `Dim1` doesn't exist.
Backtrace:
█
1. ├─`%>%`(...) test-methods.R:29:2
2. ├─nanny::rotate_dimensions(...)
3. ├─nanny::rotate_dimensions(...)
4. │ └─nanny:::get_rotated_dimensions(...)
5. │ └─`%>%`(...)
6. ├─dplyr::pull(., n)
7. ├─dplyr::ungroup(.)
8. ├─dplyr::tally(.)
9. ├─dplyr::group_by_at(...)
10. │ └─dplyr:::manip_at(...)
11. │ └─dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
12. │ └─dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
13. │ └─dplyr::tbl_vars(tbl)
14. │ ├─dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
15. │ │ └─base::structure(...)
16. │ └─dplyr:::tbl_vars_dispatch(x)
17. ├─dplyr::distinct(.)
18. ├─dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
19. └─dplyr:::select.data.frame(...)
20. └─tidyselect::eval_select(expr(c(...)), .data)
21. └─tidyselect:::eval_select_impl(...)
22. ├─tidyselect:::with_subscript_errors(...)
23. │ ├─base::tryCatch(...)
24. │ │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
25. │ │ └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
26. │ │ └─base:::doTryCatch(return(expr), name, parentenv, handler)
27. │ └─tidyselect:::instrument_base_errors(expr)
28. │ └─base::withCallingHandlers(...)
29. └─tidyselect:::vars_select_eval(...)
30. └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
31. └─tidyselect:::eval_c(expr, data_mask, context_mask)
32. └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
33. └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
34. └─tidyselect:::as_indices_sel_impl(...)
35. └─tidyselect:::as_indices_impl(x, vars, strict = strict)
36. └─tidyselect:::chr_as_locations(x, vars)
37. └─vctrs::vec_as_location(x, n = length(vars), names = vars)
38. └─(function () ...
39. └─vctrs:::stop_subscript_oob(...)
40. └─vctrs:::stop_subscript(...)
[ FAIL 3 | WARN 6 | SKIP 0 | PASS 28 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.8
Check: re-building of vignette outputs
Result: WARN
Error(s) in re-building vignettes:
--- re-building ‘introdution.Rmd’ using knitr
Warning: attributes are not identical across measure variables;
they will be dropped
nanny says: to access the raw results do `attr(..., "internals")$MDS`
Quitting from lines 130-137 (introdution.Rmd)
Error: processing vignette 'introdution.Rmd' failed with diagnostics:
Make sure your numeric 'columns' values are less than or equal to 3.
columns = c(4, 5, 6)
--- failed re-building ‘introdution.Rmd’
SUMMARY: processing the following file failed:
‘introdution.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64
Version: 0.1.8
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(nanny)
Attaching package: 'nanny'
The following object is masked from 'package:base':
subset
>
> test_check("nanny")
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test-methods.R:21:3): reduce dimension MDS ─────────────────────────
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
── Failure (test-methods.R:24:3): reduce dimension MDS ─────────────────────────
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
── Error (test-methods.R:29:3): rotate dimensions ──────────────────────────────
Error: Can't subset columns that don't exist.
✖ Column `Dim1` doesn't exist.
Backtrace:
█
1. ├─`%>%`(...) test-methods.R:29:2
2. ├─nanny::rotate_dimensions(...)
3. ├─nanny::rotate_dimensions(...)
4. │ └─nanny:::get_rotated_dimensions(...)
5. │ └─`%>%`(...)
6. ├─dplyr::pull(., n)
7. ├─dplyr::ungroup(.)
8. ├─dplyr::tally(.)
9. ├─dplyr::group_by_at(...)
10. │ └─dplyr:::manip_at(...)
11. │ └─dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
12. │ └─dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
13. │ └─dplyr::tbl_vars(tbl)
14. │ ├─dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
15. │ │ └─base::structure(...)
16. │ └─dplyr:::tbl_vars_dispatch(x)
17. ├─dplyr::distinct(.)
18. ├─dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
19. └─dplyr:::select.data.frame(...)
20. └─tidyselect::eval_select(expr(c(...)), .data)
21. └─tidyselect:::eval_select_impl(...)
22. ├─tidyselect:::with_subscript_errors(...)
23. │ ├─base::tryCatch(...)
24. │ │ └─base:::tryCatchList(expr, classes, parentenv, handlers)
25. │ │ └─base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
26. │ │ └─base:::doTryCatch(return(expr), name, parentenv, handler)
27. │ └─tidyselect:::instrument_base_errors(expr)
28. │ └─base::withCallingHandlers(...)
29. └─tidyselect:::vars_select_eval(...)
30. └─tidyselect:::walk_data_tree(expr, data_mask, context_mask)
31. └─tidyselect:::eval_c(expr, data_mask, context_mask)
32. └─tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
33. └─tidyselect:::walk_data_tree(new, data_mask, context_mask)
34. └─tidyselect:::as_indices_sel_impl(...)
35. └─tidyselect:::as_indices_impl(x, vars, strict = strict)
36. └─tidyselect:::chr_as_locations(x, vars)
37. └─vctrs::vec_as_location(x, n = length(vars), names = vars)
38. └─(function () ...
39. └─vctrs:::stop_subscript_oob(...)
40. └─vctrs:::stop_subscript(...)
[ FAIL 3 | WARN 6 | SKIP 0 | PASS 28 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.8
Check: examples
Result: ERROR
Running examples in 'nanny-Ex.R' failed
The error most likely occurred in:
> ### Name: rotate_dimensions
> ### Title: Rotate two dimensions (e.g., principal components) of an
> ### arbitrary angle
> ### Aliases: rotate_dimensions rotate_dimensions,spec_tbl_df-method
> ### rotate_dimensions,tbl_df-method
>
> ### ** Examples
>
>
> mtcars_tidy_MDS = reduce_dimensions(mtcars_tidy, car_model, feature, value, method="MDS")
nanny says: to access the raw results do `attr(..., "internals")$MDS`
>
> rotate_dimensions(mtcars_tidy_MDS, `Dim1`, `Dim2`, .element = car_model, rotation_degrees = 45)
Error: Can't subset columns that don't exist.
x Column `Dim1` doesn't exist.
Backtrace:
x
1. +-nanny::rotate_dimensions(...)
2. +-nanny::rotate_dimensions(...)
3. | \-nanny:::get_rotated_dimensions(...)
4. | \-`%>%`(...)
5. +-dplyr::pull(., n)
6. +-dplyr::ungroup(.)
7. +-dplyr::tally(.)
8. +-dplyr::group_by_at(...)
9. | \-dplyr:::manip_at(...)
10. | \-dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
11. | \-dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
12. | \-dplyr::tbl_vars(tbl)
13. | +-dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
14. | | \-base::structure(...)
15. | \-dplyr:::tbl_vars_dispatch(x)
16. +-dplyr::distinct(.)
17. +-dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
18. \-dplyr:::select.data.frame(...)
19. \-tidyselect::eval_select(expr(c(...)), .data)
20. \-tidyselect:::eval_select_impl(...)
21. +-tidyselect:::with_subscript_errors(...)
22. | +-base::tryCatch(...)
23. | | \-base:::tryCatchList(expr, classes, parentenv, handlers)
24. | | \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
25. | | \-base:::doTryCatch(return(expr), name, parentenv, handler)
26. | \-tidyselect:::instrument_base_errors(expr)
27. | \-base::withCallingHandlers(...)
28. \-tidyselect:::vars_select_eval(...)
29. \-tidyselect:::walk_data_tree(expr, data_mask, context_mask)
30. \-tidyselect:::eval_c(expr, data_mask, context_mask)
31. \-tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
32. \-tidyselect:::walk_data_tree(new, data_mask, context_mask)
33. \-tidyselect:::as_indices_sel_impl(...)
34. \-tidyselect:::as_indices_impl(x, vars, strict = strict)
35. \-tidyselect:::chr_as_locations(x, vars)
36. \-vctrs::vec_as_location(x, n = length(vars), names = vars)
37. \-(function () ...
38. \-vctrs:::stop_subscript_oob(...)
39. \-vctrs:::stop_subscript(...)
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 0.1.8
Check: tests
Result: ERROR
Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(nanny)
Attaching package: 'nanny'
The following object is masked from 'package:base':
subset
>
> test_check("nanny")
== Failed tests ================================================================
-- Failure (test-methods.R:21:3): reduce dimension MDS -------------------------
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
-- Failure (test-methods.R:24:3): reduce dimension MDS -------------------------
ncol(res) not equal to 8.
1/1 mismatches
[1] 6 - 8 == -2
-- Error (test-methods.R:29:3): rotate dimensions ------------------------------
Error: Can't subset columns that don't exist.
x Column `Dim1` doesn't exist.
Backtrace:
x
1. +-`%>%`(...) test-methods.R:29:2
2. +-nanny::rotate_dimensions(...)
3. +-nanny::rotate_dimensions(...)
4. | \-nanny:::get_rotated_dimensions(...)
5. | \-`%>%`(...)
6. +-dplyr::pull(., n)
7. +-dplyr::ungroup(.)
8. +-dplyr::tally(.)
9. +-dplyr::group_by_at(...)
10. | \-dplyr:::manip_at(...)
11. | \-dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = .include_group_vars)
12. | \-dplyr:::tbl_at_vars(tbl, vars, .include_group_vars = .include_group_vars)
13. | \-dplyr::tbl_vars(tbl)
14. | +-dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
15. | | \-base::structure(...)
16. | \-dplyr:::tbl_vars_dispatch(x)
17. +-dplyr::distinct(.)
18. +-dplyr::select(., !!.element, !!dimension_1_column, !!dimension_2_column)
19. \-dplyr:::select.data.frame(...)
20. \-tidyselect::eval_select(expr(c(...)), .data)
21. \-tidyselect:::eval_select_impl(...)
22. +-tidyselect:::with_subscript_errors(...)
23. | +-base::tryCatch(...)
24. | | \-base:::tryCatchList(expr, classes, parentenv, handlers)
25. | | \-base:::tryCatchOne(expr, names, parentenv, handlers[[1L]])
26. | | \-base:::doTryCatch(return(expr), name, parentenv, handler)
27. | \-tidyselect:::instrument_base_errors(expr)
28. | \-base::withCallingHandlers(...)
29. \-tidyselect:::vars_select_eval(...)
30. \-tidyselect:::walk_data_tree(expr, data_mask, context_mask)
31. \-tidyselect:::eval_c(expr, data_mask, context_mask)
32. \-tidyselect:::reduce_sels(node, data_mask, context_mask, init = init)
33. \-tidyselect:::walk_data_tree(new, data_mask, context_mask)
34. \-tidyselect:::as_indices_sel_impl(...)
35. \-tidyselect:::as_indices_impl(x, vars, strict = strict)
36. \-tidyselect:::chr_as_locations(x, vars)
37. \-vctrs::vec_as_location(x, n = length(vars), names = vars)
38. \-(function () ...
39. \-vctrs:::stop_subscript_oob(...)
40. \-vctrs:::stop_subscript(...)
[ FAIL 3 | WARN 6 | SKIP 0 | PASS 28 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-ix86+x86_64