You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great Julia package on Deferred Acceptance. I've been using it by cloning the Github and loading the module locally using include. When I install the package from the package manager and load the functions using "using DeferredAcceptance" for some reason in my version of Julia (1.7), the functions are not imported. However, I don't see anything wrong with the package structure.
See for example:
The text was updated successfully, but these errors were encountered:
Hmm, my first thought is to ask for your include statement, but if something went wrong there, then you should have hit an error at using DeferredAcceptance. Are you sure you haven't modified the source at all after cloning?
Generally, if you want to work on a package that exists on your local directory, the best way to do it is with Pkg.develop. Here, I clone the git repo to a folder in my home directory:
~> git clone "https://github.com/maxkapur/DeferredAcceptance.jl"
Cloning into 'DeferredAcceptance.jl'...
Next, enter the Julia REPL, enter package mode (type ]), activate a temporary environment, and develop DeferredAcceptance.jl by passing the path to the cloned repo on your local filesystem:
(@v1.8) pkg> activate --temp
Activating new project at `/tmp/jl_0nrsEg`
(jl_0nrsEg) pkg> develop "~/DeferredAcceptance.jl/"
Resolving package versions...
Installed GPUArraysCore ──────── v0.1.3...
(I used a temporary environment because DeferredAcceptance.jl hasn't been updated in a long time and if I try to add it to my global environment, it causes all my other Julia packages to downgrade themselves.)
Now, exit package mode (press backspace) and go back to the REPL. Everything appears to work.
If you don't want the latest version from Github, you can also just add the package by name using ]add DeferredAcceptance since it is in the Julia registry.
Thanks for the great Julia package on Deferred Acceptance. I've been using it by cloning the Github and loading the module locally using include. When I install the package from the package manager and load the functions using "using DeferredAcceptance" for some reason in my version of Julia (1.7), the functions are not imported. However, I don't see anything wrong with the package structure.
See for example:
The text was updated successfully, but these errors were encountered: