I have at various times tried the built-in (tools package) solution;
fairly complex hand-rolled stuff I did myself; and revdepcheck. I found
that revdepcheck handled installation of needed dependencies, including
caching packages where necessary, more easily. It felt like the 'tools'
machinery
Not sure why nobody dicusses the R internal check functionality, also
for reverse dependencies, from the tools package?
That is what CRAN uses for the reverse dependency checks.
Best,
Uwe Ligges
On 11.04.2018 23:14, J C Nash wrote:
Another workaround is to use
tlogl <- readLines(attr(cpkg.
> Georgi Boshnakov
>
>
>
>
>
> From: R-package-devel [r-package-devel-boun...@r-project.org] on behalf of J
> C Nash [profjcn...@gmail.com]
> Sent: 11 April 2018 19:05
> To: List r-package-devel
> Subject: [R-pkg-devel] Saving output of check()
Another workaround is to use
tlogl <- readLines(attr(cpkg.chk, "path"))
Possibly this may suggest a way to improve functionality.
JN
On 2018-04-11 03:24 PM, Henrik Bengtsson wrote:
> R CMD check, which is used internally runs checks in standalone
> background R processes. Output from these is
I got several responses to my query. Henrik's does suggest "why", but I
am rather unhappy that R has this weakness. (See below for a sort of
workaround for Linux users.)
In particular, note that the check_built() function DOES return an object,
but it does NOT print().
In fact, putting alldep <-
R CMD check, which is used internally runs checks in standalone
background R processes. Output from these is not capturable/sinkable
by the master R process. The gist of what's happening is:
> sink("output.log")
> system("echo hello") ## not sinked/captured
hello
> sink()
> readLines("output.lo
]
Sent: 11 April 2018 19:05
To: List r-package-devel
Subject: [R-pkg-devel] Saving output of check()
Hi,
In trying to test that an upgrade to my optimx package does not break other
packages, I wanted to loop over a list of all such packages in alldep, with
nall the length of this list.
cat("
Hi,
In trying to test that an upgrade to my optimx package does not break other
packages, I wanted to loop over a list of all such packages in alldep, with
nall the length of this list.
cat("Check the dependent packages\n")
for (ii in 1:nall){
cpkg <- alldep[ii]
dd <- "/home/john/temp/wrkopt/