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

Error: object 'vars.available' not found in dagitty() on macOS 11 with R 4.4.2 #103

Open
CWWhitney opened this issue Feb 22, 2025 · 0 comments

Comments

@CWWhitney
Copy link

I'm encountering an error when using the dagitty package on macOS 11 with the latest R 4.4.2 binary. Every time I try to create a simple DAG, I get the following error:

Error in get("vars.available", .dagitty.cache) : object 'vars.available' not found

I am using R 4.4.2 (binary for macOS 11) on a Mac with version 15.3.1 (build 24D70).

An example (from the help files):

library(dagitty) dag <- dagitty("dag { a -> b; b -> c; d -> c }")

What I Have Tried:

  • Restarting the R session and my machine
  • Updating macOS
  • Removing and reinstalling dagitty from CRAN
  • Manually initializing the cache with:
    if (!exists("vars.available", envir = .dagitty.cache)) { assign("vars.available", character(0), envir = .dagitty.cache) }
  • Installing the GitHub version via remotes::install_github("jtextor/dagitty/r")

I get the same errors after all these steps...

Any help in resolving this issue would be greatly appreciated. Thanks!

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

1 participant