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
The package is very minimal, it only loads preference const BACKEND = @load_preference("backend") from LocalPreferences.toml.
When using R directly, it loads preferences, but when ]testing package, BACKEND is nothing.
Tracing what happens during @load_preference I've found out that project_dir does not contain LocalPreferences.toml:
I encounter this bug on Julia 1.7.3. Julia 1.8.0-rc1 does not have this.
Here's MWE: R.tar.gz
The package is very minimal, it only loads preference
const BACKEND = @load_preference("backend")
fromLocalPreferences.toml
.When
using R
directly, it loads preferences, but when]test
ing package,BACKEND
isnothing
.Tracing what happens during
@load_preference
I've found out thatproject_dir
does not containLocalPreferences.toml
:1.7.3
:readdir(project_dir) = ["Manifest.toml", "Project.toml"]
1.8.0-rc1
:readdir(project_dir) = ["JuliaLocalPreferences.toml", "Manifest.toml", "Project.toml"]
The text was updated successfully, but these errors were encountered: