Test if compilation appears possible. This is used in some
examples, and tries compiling a trivial C program with
SHLIB. Results are cached between runs within a session so this
should be fast to rely on.
Be verbose when running commands?
Try again to compile, skipping the cached value?
If this function believes you can't compile, and if
can't be found on the path, a diagnostic message will be printed.
This will of course not be very interesting if you use a different
compiler to gcc! But the most likely people affected here are
Windows users; if you get this ensure that you have rtools
installed. If you have
devtools::find_rtools() may be helpful for diagnosing
A logical scalar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.