I have a Pluto notebook checked into GitHub that I’d like to be able to access through Binder.
My notebook uses @DIR to activate a workspace (also in GitHub) that identifies the packages needed by the notebook.
This works fine on my local clone, but from Binder, @DIR refers to some binder directory, rather than to the workspace directory on GitHub where the notebook lives.
What should I be doing to make this work? I’m trying to avoid waiting for the package manager to compute the transitive closure of the package dependencies when my notebook is opened.
Isn’t this solved by Pluto’s built in package manager? As the manifest is part of the notebook file itself you shouldn’t have to rely on other files in some directory?
I don’t know. I’ve done a Pkg.update(“Pluto”) maybe half a dozen times in the past few days and Pluto still complains that it is running an older version. I’ll try again, paying close attention to Pluto’s startup output which zips by.
In any case, I have a much larger notebook that I’m gradually migrating code out of and into a package. I’ll want that notebook and package to both use the same workspace so I’d like for @DIR or something like it to work for GitHub URIs.
Isn’t this solved by Pluto’s built in package manager? As the manifest is part of the notebook file itself you shouldn’t have to rely on other files in some directory?
(because ]commands don’t play nice with emacs shell mode) showed me that PlutoTool (a package of mine) was constraining the Pluto version. I fixed that and updated Pluto. Now it starts without a version warning.