I have created a module with various functions that I’m using for a data analysis project. I want to write up a report using Quarto, but it won’t let me load in the module. It gives the error: ArgumentError: Package not found in current path. My Quarto document is in the same folder as my main.jl file, which loads my module just fine. Additionally, when I click ‘Run Cell’ in the Quarto document, the functions from my module run. It’s just when I click ‘Preview’ that is says the package can’t be found. What should I do so that my module can be used in the Quarto document?
I am facing exactly the same issue.
Did you remember to add the flag --project=@. in the yaml headers? I usually include it as
engine: julia
julia:
exeflags:
- -tauto
- --project=@.