Closed muschellij2 closed 4 years ago
thanks very much @muschellij2
A few things:
droplet_ls
was introduced in the PR but not mentioned. Open a separate PR for that. I'm not sure I'd accept it though since ls
is pretty simple to just do as droplet_ssh(droplet, "ls")
foo::bar()
can just be bar()
it's really hard to test this pkg, but does the install_github_r_package
fxn work for you? i can test it too.
Sorry:
droplet_ls
. Agree it's simple, but I've found myself having to do it 5-6 times, and it seemed nice to have convenience function.install_github_r_package
has worked for me.thanks, i'll test it out and get back here
thanks
Description
Created simple wrapper
install_github_r_package
for installing r packages fromremotes
. Performs a check, similar toplumber:::droplet_capture
to see if the package is installed already; if not, it installsremotes
. Then usesremotes::install_github
to install theRelated Issue
Example
Did not find tests for
install_r_package
so wasn't sure where to putinstall_github_r_package
tests.