From 1e73f242d0bfbaad852c247d3971da126e15b304 Mon Sep 17 00:00:00 2001 From: Dongdong Kong Date: Thu, 11 Jul 2024 18:42:40 +0800 Subject: [PATCH] add load_sf --- Project.toml | 2 +- src/tools.jl | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index d1d7b64..8906451 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Ipaper" uuid = "e58298cb-69f7-4186-aecd-5834b6793426" authors = ["Dongdong Kong "] -version = "0.1.17" +version = "0.2.0" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" diff --git a/src/tools.jl b/src/tools.jl index 96841bf..5cbd28c 100644 --- a/src/tools.jl +++ b/src/tools.jl @@ -4,6 +4,11 @@ import StatsBase: weights, mean, quantile import Random: seed! include("r_base.jl") +export load_sf +function load_ext(ext::Symbol=:IpaperArchGDALExt) + Base.get_extension(Ipaper, ext) +end + # for quarto include2(f) = include("$(pwd())/$(basename(f))") # includet2(f) = includet("$(pwd())/$(basename(f))")