Displaying 4 results from an estimated 4 matches for "r_keepsource".
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]
...install("prompt"));
@@ -289,6 +290,10 @@
SETCAR(v, ScalarLogical(0)); /* no checking */
v = CDR(v);
+ SET_TAG(v, install("check.condition"));
+ SETCAR(v, ScalarLogical(0)); /* no checking */
+ v = CDR(v);
+
p = getenv("R_KEEP_PKG_SOURCE");
R_KeepSource = (p && (strcmp(p, "yes") == 0)) ? 1 : 0;
I'm happy to file this via https://bugs.r-project.org, if preferred.
/Henrik
-------------- next part --------------
Index: src/library/base/man/options.Rd
===================================================================
--- src/...
Control statements with condition with greater than one should give error (not just warning) [PATCH]
2017 Mar 03
0
Control statements with condition with greater than one should give error (not just warning) [PATCH]
...> SETCAR(v, ScalarLogical(0)); /* no checking */
> v = CDR(v);
> + SET_TAG(v, install("check.condition"));
> + SETCAR(v, ScalarLogical(0)); /* no checking */
> + v = CDR(v);
> +
> p = getenv("R_KEEP_PKG_SOURCE");
> R_KeepSource = (p && (strcmp(p, "yes") == 0)) ? 1 : 0;
> I'm happy to file this via https://bugs.r-project.org, if preferred.
> /Henrik
> ----------------------------------------------------------------------
> Index: src/library/base/man/options.Rd
>...
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]
...no checking */
> > v = CDR(v);
>
> > + SET_TAG(v, install("check.condition"));
> > + SETCAR(v, ScalarLogical(0)); /* no checking */
> > + v = CDR(v);
> > +
> > p = getenv("R_KEEP_PKG_SOURCE");
> > R_KeepSource = (p && (strcmp(p, "yes") == 0)) ? 1 : 0;
>
>
> > I'm happy to file this via https://bugs.r-project.org, if preferred.
>
> > /Henrik
>
> > ----------------------------------------------------------------------
> > Index: src/...
2001 Feb 17
4
Comments on R-1.2.1 builds (PR#851)
...---------------------------------------------------------
c89 -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -OPT:IEEE_NaN_inf=ON -g -c options.c -o options.o
cc-1185 c89: WARNING File = options.c, Line = 249
An enumerated type is mixed with another type.
R_KeepSource = (p && (strcmp(p, "yes") == 0)) ? 1 : 0;
^
cc-1185 c89: WARNING File = options.c, Line = 371
An enumerated type is mixed with another type.
R_KeepSource = k;
^
cc-1185 c89: WARNING File = options.c, Line = 433...