dynverse / dyngen

Simulating single-cell data using gene regulatory networks 📠
https://dyngen.dynverse.org
Other
69 stars 6 forks source link

function 'Rcpp_precious_remove' not provided by package 'Rcpp #36

Open lila167 opened 2 years ago

lila167 commented 2 years ago

Hi,

Thanks @rcannood for your tool. I following your tutorial here:

And I get the following error when running generate_gold_standard(model)

ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd and library file /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation are out of sync. 

Falling back to library file for linking.

Error in cpp_sd(x) : 
  function 'Rcpp_precious_remove' not provided by package 'Rcpp'

Could you please help me find the problem? I also noticed that this question has been asked, however ignoring the error does not work for me as I get the following error:

> plot_gold_simulations(model) + scale_colour_brewer(palette = "Dark2")
Error: Problem with `filter()` input `..1`.
ℹ Input `..1` is `!.data$burn`.
x Column `burn` not found in `.data`

Thanks

rcannood commented 2 years ago

Hey @lila167 !

Which version of R are you using?

Did you manage to solve the issue with generate_gold_standard(model). If so, how?

As for the issue with plot_gold_simulations(model); I expect you're getting this error because you weren't able to run generate_gold_standard(...) and so the plot function couldn't find back the data that it needed. ... I agree the error message could be a little more helpful.

lila167 commented 2 years ago

Thanks @rcannood! I reinstalled R to the latest version but still my kernel dies immediately after running that code. However, I managed to run it using docker! Thanks for that :)