Displaying 2 results from an estimated 2 matches for "newrel_f65".
2019 Jul 12
4
Unexpected behaviour when comparing (==) long quoted expressions
Hi everyone:
I?m one of the interns at RStudio this summer working on a project that
helps teachers grade student code. I found an unexpected behaviour with
the |==| operator when comparing |quote|d expressions.
Example 1:
|u <- quote(tidyr::gather(key = key, value = value,
new_sp_m014:newrel_f65, na.rm = TRUE)) s <- quote(tidyr::gather(key =
key, value = value, new_sp_m014:newrel_f65, na.rm = FALSE)) u == s #
TRUE u <- quote(tidyr::gather(key = key, value = value, na.rm = TRUE)) s
<- quote(tidyr::gather(key = key, value = value, na.rm = FALSE)) u == s
# FALSE |
Example 2:
|u...
2019 Jul 16
0
Unexpected behaviour when comparing (==) long quoted expressions
...Studio this summer working on a project that
> helps teachers grade student code. I found an unexpected behaviour with
> the |==| operator when comparing |quote|d expressions.
> Example 1:
> |u <- quote(tidyr::gather(key = key, value = value,
> new_sp_m014:newrel_f65, na.rm = TRUE)) s <- quote(tidyr::gather(key =
> key, value = value, new_sp_m014:newrel_f65, na.rm = FALSE)) u == s #
> TRUE u <- quote(tidyr::gather(key = key, value = value, na.rm = TRUE)) s
> <- quote(tidyr::gather(key = key, value = value, na.rm = FALSE)) u == s...