Displaying 20 results from an estimated 10000 matches similar to: "checking for executable files ... WARNING"
2020 Sep 11
3
Including full text of open source licenses in a package
Hi all,
R-exts currently requests that package authors don't include copies of
standard licenses:
> Whereas you should feel free to include a license file in your source distribution, please do
> not arrange to install yet another copy of the GNU COPYING or COPYING.LIB files but
> refer to the copies on https://www.R-project.org/Licenses/ and included in the R distribution
> (in
2010 Oct 28
2
Rbuildignore and mercurial
I've changed to Mercurial for my working copies of survival for a number or resons not relevant to this post. When I do R CMD check, I get some warnings
about certain files in the .hg directory with odd names. I've added the following 2 lines to my .Rbuildignore file without effect
^\.hg$
^\.hg.*
I'm not a Perl user so perhaps I'm reading the help page wrong. Any pointers?
This
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 03
2
Control statements with condition with greater than one should give error (not just warning) [PATCH]
On Fri, Mar 3, 2017 at 9:55 AM, Hadley Wickham <h.wickham at gmail.com> wrote:
>> But, how you propose a warning-to-error transition should be made
>> without wreaking havoc? Just flip the switch in R-devel and see CRAN
>> and Bioconductor packages break overnight? Particularly Bioconductor
>> devel might become non-functional (since at times it requires
>>
2006 Sep 29
2
Warning: a final empty element has been omitted
How can I suppress this warning?
> options(warn = -10)
> list(1,2,3,)
Warning: a final empty element has been omitted
the part of the args list of 'list' being evaluated was:
(1, 2, 3, )
[[1]]
[1] 1
[[2]]
[1] 2
[[3]]
[1] 3
> suppressWarnings(list(1,))
Warning: a final empty element has been omitted
the part of the args list of 'list' being evaluated was:
(1, )
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:
>>
2013 Oct 09
1
No warning for conflicting methods?
It would be really nice if R warned you when packages had conflicting
methods. For example (and this took me a couple of hours to track
down), RMySQL and RPostgreSQL both define setMethod("print",
"dbObjectId"), so that:
library(RMySQL)
getMethod("print", "dbObjectId")
library(RPostgreSQL)
getMethod("print", "dbObjectId")
Obviously
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 04
3
Control statements with condition with greater than one should give error (not just warning) [PATCH]
Is there really a need for these complications? Packages emitting this
warning are broken by definition and should be fixed. Perhaps we could
"flip the switch" in a test environment and see how much havoc is wreaked
and whether authors are sufficiently responsive?
Michael
On Sat, Mar 4, 2017 at 12:04 PM, Martin Maechler <maechler at stat.math.ethz.ch
> wrote:
>
2004 Nov 18
5
Building Packages on Windows using .Rbuildignore (PR#7379)
On Thu, 18 Nov 2004 00:38:47 +0000 (UTC), Gabor Grothendieck
<ggrothendieck@myway.com> wrote :
>DIFFERENCE BETWEEN USING .RBUILDIGNORE AND NOT
>
>The reason that the processing is different according to whether one
>uses .Rbuildignore or not is that
> R CMD build
>takes the .Rbuildignore file into account but
> R CMD install
> R CMD check
> R CMD build
2008 Oct 14
2
dos-style line endings in .Rbuildignore result in files not being excluded
I was trying, on a Linux system, to get a .Rbuildignore file to work.
After far too long, I found the problem was the <CR><NL> line endings in
the .Rbuildignore file -- I had originally created it on a Windows
system, and emacs in Ubuntu was politely hiding that fact from me. The
patterns didn't work to exclude files because it was trying to match
filenames to patterns like
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
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
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
2018 Aug 30
1
ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1
Should the following two functions should always give the same result,
except for possible differences in the 'call' component of the warning
or error message?:
f0 <- function(x, y) x || y
f1 <- function(x, y) if (x) { TRUE } else { if (y) {TRUE } else { FALSE }
}
And the same for the 'and' version?
g0 <- function(x, y) x && y
g1 <- function(x, y) if
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
2018 Aug 31
1
ROBUSTNESS: x || y and x && y to give warning/error if length(x) != 1 or length(y) != 1
?On 30/08/2018, 20:15, "R-devel on behalf of Hadley Wickham" <r-devel-bounces at r-project.org on behalf of h.wickham at gmail.com> wrote:
On Thu, Aug 30, 2018 at 10:58 AM Martin Maechler
<maechler at stat.math.ethz.ch> wrote:
>
> >>>>> Joris Meys
> >>>>> on Thu, 30 Aug 2018 14:48:01 +0200 writes:
>
2016 Mar 01
2
Data frame printing buglet when multiple empty column names
This is admittedly minor, and you shouldn't have repeated names in a
data frame anyway, but:
df <- data.frame(1:3, 1:3, 1:3)
# Ok
setNames(df, c("x", "y", ""))
# Not ok
setNames(df, c("x", "", ""))
Hadley
--
http://hadley.nz
2004 Nov 17
1
Building Packages on Windows using .Rbuildignore
I have some questions about building packages in Windows
when using .Rbuildignore . The part of the process that
is of interest here is the part that creates the source
tree from the tree that contains the .Rbuildignore file.
That is, the part of the process that does a build of
the original tree creating a .tar.gz and then extracts
this file into a source directory that can be used by
check,
2018 Jul 07
6
Testing for vectors
On Sat, Jul 7, 2018 at 1:50 PM, Gabe Becker <becker.gabe at gene.com> wrote:
> Hadley,
>
>>
>> I was thinking primarily of completing the set of is.matrix() and
>> is.array(), or generally, how do you say: is `x` a 1d dimensional
>> thing?
>
>
> Can you clarify what you mean by dimensionality sense and specifically 1d
> here?
What do we call a
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