search for: ismiss

Displaying 5 results from an estimated 5 matches for "ismiss".

Did you mean: dismiss
2024 Feb 18
1
Capturing Function Arguments
...evaluating the arguments first, then matching. This makes a lot of assumptions about the function being inspected: no NSE, no ellipsis, formals don't depend on the body, nothing weird about the environment of the function... f <- function(...) { .makemissing <- function() alist(a=)$a .ismissing <- function(x) identical(x, .makemissing()) # prepare to evaluate formals params <- formals(f0) e <- new.env(parent = environment(f0)) # assign non-missing formals for (n in names(params)) if (!.ismissing(params[[n]])) eval( # work around delayedAssign quoting its second argumen...
2024 Feb 17
2
Capturing Function Arguments
I'm wrapping a function in R and I want to record all the arguments passed to it, including default values and missing values. I want to be able to snoop on function calls in sourced scripts as part of a unit testing framework. I can capture the values fine, but I'm having trouble evaluating them as if `force()` had been applied to each of them. Here is a minimal example: f0 <-
2011 Oct 13
0
Re: The script hotplugpath.sh ismissingin/etc/xen/scripts
-----Original message----- From: Paul Muster paul@muster.dyndns.info Date: Thu, 13 Oct 2011 08:29:37 -0500 To: xen-users@lists.xensource.com Subject: Re: [Xen-users] The script hotplugpath.sh ismissing in/etc/xen/scripts > On 13.10.2011 01:52, Barry Kolts wrote: > > > What I did, following the instructions on the last page > > Paul referred to, is add "deb http://ftp.us.debian.org/debian sid main" to > > my /etc/apt/sources.list (without the quotes) then did...
2006 Dec 20
4
R windows crash (PR#9426)
Full_Name: Robert Denham Version: R-2.4.1 OS: Windows Xp Submission from: (NULL) (61.88.57.1) R gui exits without warning when I run a function which has an argument with a default that is not found. This was a result of an error in a function I wrote, but I thought that it should exit more gracefully than it does. Here is an example: testfun <- function(aa=aa) { aa <-
2013 Aug 28
12
[PATCH V2] x86/AMD-Vi: Add additional check for invalid special->handle
From: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> This patch add an additional logic to check for the often case when the special->handle is not initialized due to firmware bugs. but the special->usedid is correct. If users overide this using the command line option ivrs_ioapic, then it should use the value instead. --- This patch is supposed to follow the patches: