Added the import of ggplot2::Stat as discussed in issue #14. Appears to have done the trick. Package version needs bumped. Build still has unrelated warnings/notes in tests. Specifically:
* checking Rd \usage sections ... WARNING
Undocumented arguments in documentation object 'geom_edgetext_repel'
'segment.color'
Undocumented arguments in documentation object 'geom_nodetext_repel'
'segment.color'
Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See chapter 'Writing R documentation files' in the 'Writing R
Extensions' manual.
and in tests:
* checking tests ...
Running 'testthat.R' ERROR
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
Type help(package="sna") to get started.
1. Failure: load_pkg works (@test-utilities.R#5) -------------------------------
error$message does not match "install the".
Actual value: "could not find function "load_pkg""
testthat results ================================================================
OK: 14 SKIPPED: 0 FAILED: 1
1. Failure: load_pkg works (@test-utilities.R#5)
Error: testthat unit tests failed
Execution halted
Hope this is helpful...
Added the import of ggplot2::Stat as discussed in issue #14. Appears to have done the trick. Package version needs bumped. Build still has unrelated warnings/notes in tests. Specifically:
and in tests: