similar to: Cross-platform check for internet connection

Displaying 20 results from an estimated 60000 matches similar to: "Cross-platform check for internet connection"

2008 Sep 15
2
Cross-platform function availability
Hi all, Is there any way to determine which functions are available on which platforms? For example, winProgr essBar (and related functions) are only available on Windows, but what about tkProgressBar and txtProgressBar? Is there any way to figure out which functions are only available on certain platforms, without installing R on that platform and checking? Thanks, Hadley --
2020 Oct 05
3
Internet access and R CMD make check-devel
I am trying to install R on CentOS (either 7 or 8, behavior is the same) in an environment behind a firewall and while I am able to run: R CMD make check I am unable to run: R CMD make check-devel These latter tests fail. The failure occurs in the internet access if() conditional statement in these two tests: https://svn.r-project.org/R/trunk/tests/internet.R
2008 Apr 04
3
R CMD check should check date in description
I'm always forgetting to update the date in DESCRIPTION. Would it be possible to add a warning to R CMD check if it's old? Hadley -- http://had.co.nz/
2016 Jan 20
2
Warn on partial matches in R CMD check
Hi all (but especially Kurt), Would it be possible to have a flag to R CMD check that warned on partial all matches, i.e. turning on: options( warnPartialMatchDollar = TRUE, warnPartialMatchArgs = TRUE, warnPartialMatchAttr = TRUE ) I think this is good practice for package code. I don't think it can currently be made part of the default (because sometimes the warnings come from
2006 Apr 07
2
Should demo files be run as part of R CMD check?
I was a bit suprised to note that demo files are not run as part of R CMD check. This seems out of keeping with the philosophy of running all code contained in the package (in the source, in examples etc). Should demo files be checked as part of R CMD check? Hadley
2016 Apr 04
1
Suggested dependencies in context of R CMD check
Jan and Hadley, There's also the issue of tests, vignettes, or examples requiring Suggested packages (one of the core applications of Suggests, in fact). These are all checked by R CMD check, so to ensure any package which should pass check would do so without suggested packages installed would require turning all of those checks off, which takes quite a few of the teeth out of R CMD check
2006 Jul 07
4
Modifying parsed code
I would like to take this: .img(plot(1:10), filename="a") and produce plot(1:10) ie. whenever .img is used, I want to take the first argument and throw away everything else. (I am trying to produce a Sweave like environment in which I can apply certain functions, but not have them displayed in the output) I think I should be able to do it using substitute, but I don't know how
2010 Jun 29
4
Tips for debugging: R CMD check examples
Hi all, Does anyone have any suggestions for debugging the execution of examples by R CMD check? The examples work fine when I run them from a live R prompt, but I get errors when they are run by R CMD check. Thanks, Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2015 May 15
2
example fails during R CMD CHECK but works interactively?
Make the example print out Sys.getenv() and then manually inspect? Otherwise, you'll need to debug the code by adding print statements. Something clearly is not as you expect, so you need carefully empirically verify your assumptions about the inputs to and environment of the function. Hadley On Fri, May 15, 2015 at 7:05 AM, Charles Determan <cdetermanjr at gmail.com> wrote: > Does
2010 Aug 24
3
require is to suggests as what is to imports?
Hi all, If a package suggests another package in its description, you can check it at runtime with requires. How do you do check if a package is available without loading it, if you only want to access one function in the package namespace. Thanks, Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice University http://had.co.nz/
2018 Aug 25
4
Where does L come from?
Hi all, Would someone mind pointing to me to the inspiration for the use of the L suffix to mean "integer"? This is obviously hard to google for, and the R language definition (https://cran.r-project.org/doc/manuals/r-release/R-lang.html#Constants) is silent. Hadley -- http://hadley.nz
2016 Aug 05
1
What happened to Ross Ihaka's proposal for a Common Lisp based R successor?
But you can easily fall back to R from within Julia; see http://juliastats.github.io/RCall.jl/latest/ On Aug 5, 2016 1:27 PM, "Hadley Wickham" <h.wickham at gmail.com> wrote: > No. > > Hadley > > On Fri, Aug 5, 2016 at 11:12 AM, Kenny Bell <kmbell56 at gmail.com> wrote: > > Is it conceivable that Julia could be ported to use R syntax in a way > that
2006 Feb 21
4
do.call, browser and traceback
A problem that I've encountered when using do.call a lot is very large stack traces, eg: f <- function(x) stop() do.call(error, mtcars) traceback() f <- function(x) browser() do.call(f, mtcars) I have hacked together my own version of traceback to fix this by limiting the length of each line to 80 characters, but I can't see any way to do something similar for browser. Any
2016 Aug 05
2
What happened to Ross Ihaka's proposal for a Common Lisp based R successor?
Is it conceivable that Julia could be ported to use R syntax in a way that would allow the vastly larger numbers of R programmers to seamlessly switch? Or equivalently, could an iteration of R itself do this? On Fri, Aug 5, 2016, 9:00 AM Hadley Wickham <h.wickham at gmail.com> wrote: > When it was being actively worked on, it had the advantage of existing. > > Hadley > > On
2017 Dec 20
2
R CMD check warning about compiler warning flags
On Wed, Dec 20, 2017 at 4:26 PM, Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote: > On 20/12/2017 17:42, Winston Chang wrote: >> >> On recent builds of R-devel, R CMD check gives a WARNING when some >> compiler warning flags are detected, such as -Werror, because they are >> non-portable. This appears to have been added in this commit: >>
2010 Aug 24
2
Comparing/diffing strings
Hi all, all.equal is generally very useful when you want to find the differences between two objects. It breaks down however, when you have two long strings to compare: > all.equal(a, b) [1] "1 string mismatch" Does any one know of any good text diffing tools implemented in R? Thanks, Hadley -- Assistant Professor / Dobelman Family Junior Chair Department of Statistics / Rice
2008 May 04
1
R CMD check: small tests suggestion
It would be nice if R CMD check ran any file in the tests directory that has "one of the extensions .R, .S, .q, .r, or .s" - i.e. it should match the files processed in the R directory. Hadley -- http://had.co.nz/
2003 Nov 08
3
Dealing with ...
From within a function, how can I extract the individual arguments that make up ...? I'm sure this has been discussed on here before but ... does not get indexed. Any suggestions as to what I should search for would be equally welcome. Thanks, Hadley
2005 Aug 23
4
Functions with the same name: best practices
Ok, here's another best practices question - let's say I'm writing a package and I want to use a function name that is already claimed by a function in the base R packages. For the sake of argument, let's pretend this function is for profiling the performance of a function (like Rprof for example), and so an obvious name that comes to mind is profile. This, of course, clashes
2018 Jun 08
2
Subsetting the "ROW"s of an object
I suspect this will have suboptimal performance since the TRUEs will get recycled. (Maybe there is, or could be, ALTREP, support for recycling) Hadley On Fri, Jun 8, 2018 at 10:16 AM, Berry, Charles <ccberry at ucsd.edu> wrote: > > >> On Jun 8, 2018, at 8:45 AM, Hadley Wickham <h.wickham at gmail.com> wrote: >> >> Hi all, >> >> Is there a better to