错误“mutate()”:!计算时出现问题。无效的版本规范”
我正在运行以下一段工作正常的代码:
df_New <- df %>%
+ mutate(column1 = map(column1, ~ py_eval(.x) %>%
+ bind_rows)) %>%
+ unnest(column1)
但是,当稍后返回时,我在尝试重新运行代码时收到此错误:
Error in `mutate()`:
! Problem while computing `column1 = map(column1,
~py_eval(.x) %>% bind_rows)`.
Caused by error:
! invalid version specification ‘'\\.\tm1174\w2k'’, ‘..EXE was started with the above path as the current directory.’, ‘. paths are not supported. Defaulting to Windows directory.’
Run `rlang::last_error()` to see where the error occurred.
Warning message:
Problem while computing `column1 = map(column1, ~py_eval(.x) %>% bind_rows)`.
i the condition has length > 1 and only the first element will be used
我不知道发生了什么变化。有人能指出我正确的方向吗?
I was running the following piece of code that was working fine:
df_New <- df %>%
+ mutate(column1 = map(column1, ~ py_eval(.x) %>%
+ bind_rows)) %>%
+ unnest(column1)
however when returning at a later date I received this error when trying to re-run the code:
Error in `mutate()`:
! Problem while computing `column1 = map(column1,
~py_eval(.x) %>% bind_rows)`.
Caused by error:
! invalid version specification ‘'\\.\tm1174\w2k'’, ‘..EXE was started with the above path as the current directory.’, ‘. paths are not supported. Defaulting to Windows directory.’
Run `rlang::last_error()` to see where the error occurred.
Warning message:
Problem while computing `column1 = map(column1, ~py_eval(.x) %>% bind_rows)`.
i the condition has length > 1 and only the first element will be used
I have no Idea what has changed. Can anyone point me in the right direction?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论