I have recently been having this same issue and traced it to a hang when
loading the tcltk package. The 'checking use of S3 registration' part of
the check loads all the base and recommended packages and for some reason
the tcltk package was hanging during loading on my machine (macOS 11.2.1).
I w
In particular the magrittr package seems to be broken on the pre-test
machine.
I submitted a new version of the pkgload package on Friday, again on
Tuesday and today (Wednesday). All passed fine on the Debian machine, but
failed during installation on the Windows builder.
The failure is due to a
I think the issue is likely that you seem to be using a relative path to
the R_MAKEVARS_USER file, it needs to be an absolute path as the
installation is run in a temporary directory not from the directory you
call `R CMD INSTALL` from.
I observed similar behavior to what you describe when I had th
CRAN reviewers have somewhat recently been requesting that new
submissions have runnable examples. This is in general a good
recommendation, but the reviewers seem to apply this policy
unconditionally, and there are certain classes of packages where this
is either extremely cumbersome or impossible
Sorry first sentence should read
I agree that `message()` is ideally preferred, precisely because
of the reasons Martin stated, it is easily controlled by the user.
On Wed, May 15, 2019 at 9:41 AM Jim Hester wrote:
>
> I agree that `message()` is in an ideally preferred, precisely becaus
I agree that `message()` is in an ideally preferred, precisely because
of the reasons Martin stated, it is easily controlled by the user.
Unfortunately, in the real world, the windows R gui console and
RStudio (which copied behavior) color messages, and anything on stderr
in fact, in red, which co
For what it's worth, the recommendation to use `tempfile()` is very
confusing to R users.
Often users (particularly new users) jump directly to examples when
reading documentation and when you have these more complicated
examples they do not realize they can just use a simple string
literal.
See
You can use the `Remotes: ` feature in your DESCRIPTION file
(https://github.com/hadley/devtools/blob/master/vignettes/dependencies.Rmd)
implemented in devtools to automatically install development versions
of packages during development, including on Travis CI. However they
will need to be removed
It has been a few months since I was doing this for the 4.9.3 windows
toolchain, but the best way I found IIRC of getting everything working was
to install msys2 and use that as the build environment, but put the proper
Rtools toolchain first in the PATH.
On Mon, Aug 15, 2016 at 9:13 AM, Hadley Wi
Alex,
'with_collate' is one of the functions included in the withr package (
https://cran.rstudio.com/web/packages/withr/).
So you could simply write
sort_c <- function(x) withr::with_collate("C", sort(x))
The usage semantics and implementation are essentially identical to what
Hadley describe
10 matches
Mail list logo