lxy009
1
error that i can't get to the bottom to. didn't see any issues on dplyr github at quick glance. any thoughts?
input_data %>% mutate(response = NA)
Error in mutate_impl(.data, dots, caller_env()) :
object '_dplyr_mutate_impl' not found
input_data
is a tibble.
I note that the first example in the documentation doesn't work -- same error
mtcars %>% as_tibble() %>% mutate(
cyl2 = cyl * 2,
cyl4 = cyl2 * 2
)
R version 3.6.0
dplyr version 0.8.3
lxy009
2
Nevermind.
R 3.6.1
works.
I'll have to talk to devops on this.
atusy
3
The first example works in my environment (dplyr 0.8.3 on R 3.6.1).
> sessioninfo::session_info("dplyr")
─ Session info ──────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 3.6.1 (2019-07-05)
os Debian GNU/Linux 9 (stretch)
system x86_64, linux-gnu
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz Etc/UTC
date 2019-08-02
─ Packages ──────────────────────────────────────────────────────────────────────────────────────────────
package * version date lib source
assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.1)
backports 1.1.4 2019-04-10 [1] CRAN (R 3.6.1)
BH 1.69.0-1 2019-01-07 [1] CRAN (R 3.6.1)
cli 1.1.0 2019-03-19 [1] CRAN (R 3.6.1)
crayon 1.3.4 2017-09-16 [1] CRAN (R 3.6.1)
digest 0.6.20 2019-07-04 [1] CRAN (R 3.6.1)
dplyr * 0.8.3 2019-07-04 [1] CRAN (R 3.6.1)
ellipsis 0.2.0.1 2019-07-02 [1] CRAN (R 3.6.1)
fansi 0.4.0 2018-10-05 [1] CRAN (R 3.6.1)
glue 1.3.1 2019-03-12 [1] CRAN (R 3.6.1)
magrittr 1.5 2014-11-22 [1] CRAN (R 3.6.1)
pillar 1.4.2 2019-06-29 [1] CRAN (R 3.6.1)
pkgconfig 2.0.2 2018-08-16 [1] CRAN (R 3.6.1)
plogr 0.2.0 2018-03-25 [1] CRAN (R 3.6.1)
purrr * 0.3.2 2019-03-15 [1] CRAN (R 3.6.1)
R6 2.4.0 2019-02-14 [1] CRAN (R 3.6.1)
Rcpp 1.0.2 2019-07-25 [1] CRAN (R 3.6.1)
rlang 0.4.0 2019-06-25 [1] CRAN (R 3.6.1)
tibble 2.1.3 2019-06-06 [1] CRAN (R 3.6.1)
tidyselect 0.2.5 2018-10-11 [1] CRAN (R 3.6.1)
utf8 1.1.4 2018-05-24 [1] CRAN (R 3.6.1)
vctrs 0.2.0 2019-07-05 [1] CRAN (R 3.6.1)
zeallot 0.1.0 2018-01-28 [1] CRAN (R 3.6.1)
[1] /usr/local/lib/R/site-library
[2] /usr/local/lib/R/library
``
Strange - with a fully loaded dplyr it runs perfect...
# dplyr 0.8.3
# Rversion 3.5.1
#-----------------------------
# Runs perfect
#-----------------------------
library(dplyr)
# create a tibble and write it into an object
input_data <- as_tibble(iris)
input_data %>% mutate(response = NA)
system
Closed
5
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.