Moved wdman and binman to Suggests #177
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a very simple PR. It removes imports of
wdman
andbinman
and moves the packages to Suggests (following the comments in #172 ). Both packages are currently unavailable from CRAN, which means RSelenium can't be installed usingdevtools::install_github("ropensci/RSelenium")
if the user does not have them installed.wdman
was only used inrsDriver()
which now displays a error message if the package is unavailable, and the deprecated message forphantom()
which was removed.binman
is only used in the help text ofrsDriver()
. The details of this function now include the command howbinman
can be installed from GitHub.devtools::check("RSelenium")
produces the following errors, warnings and notes:Without wdman and binman installed
With wdman and binman installed
I did my best to follow instructions in the test directory to get rid of the
testthat
errors. Using the debug docker image I was able to see that the sites in the local web directory were called and displayed. Yet, there werenull.Pointer
exceptions when I tried running the tests manually. However, since this PR does not alter any functions, it should be fine. When thetestthat
test are ignored, there are no errors, warnings or notes.A manual test conducted by removing
binman
andwdman
, installing the altered package and usingRSelenium
together with the selenium/standalone-firefox:2.53.0 docker image to run a few operations on websites. This worked without issues.Session info