You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a Bookdown project with several authors, using a number of packages that are on CRAN and Github. I think it's bad for code in a book to install packages without asking, but it would be helpful to check whether the currently installed packages are up to date. So what I'd like to put in a code chunk is something like this:
do_installs <- "never" # Modelled after the upgrade arg
install_github("dmurdoch/tables", do_install = do_installs)
... same for several other packages ...
and have it check for updates to the package, and print a warning like
Warning: package "tables" is not up to date with the Github version
or
Warning: package "tables" is not installed
(I want a warning on the last one so I can see all the uninstalled packages in one run.)
The text was updated successfully, but these errors were encountered:
I'm working on a Bookdown project with several authors, using a number of packages that are on CRAN and Github. I think it's bad for code in a book to install packages without asking, but it would be helpful to check whether the currently installed packages are up to date. So what I'd like to put in a code chunk is something like this:
and have it check for updates to the package, and print a warning like
or
(I want a warning on the last one so I can see all the uninstalled packages in one run.)
The text was updated successfully, but these errors were encountered: