Skip to content

[R-pkg-devel] devtools::build_win()?

3 messages · Spencer Graves, Gábor Csárdi, Ben Bolker

#
Hello:


 ????? Hadley Wickham's otherwise wonderful "R packages" book recommends 
using "devtools::build_win()" in the "Test environments" section of his 
chapter on "Releasing a package".? However, devtools 2.2.1, which seems 
to be the current version, contains no such "build_win" function.


 ????? This section of "R packages" also says, says that 
"devtools::revdep_check()" "Runs R CMD check on each [reverse 
dependency] and Summarises the results in a single file."? However, the 
current version of "devtools::revdep_check()" seems only to identify the 
reverse dependencies without testing them.


 ????? That do you suggest?
 ????? Thanks,
 ????? Spencer Graves
#
Hi,

see devtools::check_win_devel and https://github.com/r-lib/revdepcheck

for the current implementations for these.

Gabor

On Thu, Oct 31, 2019 at 5:09 PM Spencer Graves
<spencer.graves at effectivedefense.org> wrote:
#
There's a revdepcheck package (seems to be only on GitHub?):
https://github.com/r-lib/revdepcheck

  It's pretty robust and feature-ful (I'm currently 4 hours into a
6-hour batch job checking the lme4 reverse dependencies on 6 cores in
parallel ... I think the RStudio folks use it for even bigger problems
like ggplot2 reverse-dependency checking)
On 2019-10-31 5:08 p.m., Spencer Graves wrote: