Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could not find function "split_chain" #27

Closed
ericpgreen opened this issue Dec 22, 2020 · 6 comments
Closed

could not find function "split_chain" #27

ericpgreen opened this issue Dec 22, 2020 · 6 comments

Comments

@ericpgreen
Copy link

@TysonStanley do you get an error when you run:

library(tidyverse)
nhanes_2010 %>%
  group_by(asthma) %>%
  table1(age, marijuana, illicit, rehab,
         output = "text2",
         na.rm = FALSE)

Error in split_chain(match.call(), env = env) : could not find function "split_chain"

I'm running furniture_1.9.7 and magrittr_2.0.1.

Possible issue here?

@TysonStanley
Copy link
Owner

Thanks, @ericpgreen. Yes, this has to do with the updated magrittr. The developmental version of furniture has a fix so you can install that.

Once CRAN is off break, I’ll be sending the updated version there.

@priyapatel1
Copy link

Hello - I'm working through the R textbook that references this package. I got the same split_chain error, and I have installed the developmental version of furniture as indicated, but it's still not working.

Here is my code and error:

> df %>% furniture::table1(asthma)

Error in split_chain(match.call(), env = env) : 
  could not find function "split_chain"

@TysonStanley
Copy link
Owner

Thanks for the heads up. Can you update to the very latest version (v1.9.9) and see if it works?

@TysonStanley TysonStanley reopened this Jan 21, 2021
@kallevato
Copy link

kallevato commented Feb 8, 2021

I'm getting the same issue when trying to run RInno and install_inno()

I've tried searching through the answer on the RInno github, but it hasn't been updated since 2019.

Here's my code and error.

> install_inno() 
Error in split_chain(match.call(), env = env) : could not find function "split_chain"

@TysonStanley
Copy link
Owner

I believe this error results from the updated magrittr package so the developer of the RInno package needs to be informed that the error is showing up in their package.

The furniture package should be good with this issue with the developmental version (soon to be updated on CRAN).

@filipdeblock
Copy link

I got the same error message (Error in split_chain(match.call(), env = env) : could not find function "split_chain") and deleting the folder "00LOCK-magrittr" from the folder where I download packages (…\R\win-library\4.0) solved the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants