Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: Quarto Publish

jobs:
build-deploy:
runs-on: ubuntu-24.04
runs-on: macos-latest
permissions:
contents: write
steps:
Expand All @@ -18,10 +18,6 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: System deps
run: sudo apt-get install -y libudunits2-dev libgdal-dev libgeos-dev libproj-dev
# libsqlite0-dev

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
Expand All @@ -39,9 +35,8 @@ jobs:

- name: Install Julia
uses: julia-actions/setup-julia@v2
with:
version: '1.10'
project: '.'
- uses: julia-actions/cache@v2
- uses: julia-actions/julia-buildpkg@v1

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
Expand Down
5 changes: 0 additions & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
[deps]
AlgebraOfGraphics = "cbdf2221-f076-402e-a563-3d30da359d67"
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
GeoDataFrames = "62cb38b5-d8d2-4862-a48e-6a340996859f"
GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
GeoMakie = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
GeometryOps = "3251bfac-6a57-4b6d-aa61-ac1fef2975ab"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
RCall = "6f49c342-dc21-5d91-9882-a32aef131414"
9 changes: 4 additions & 5 deletions demo.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
library(sf)
sf::write_sf(spData::world, "world.gpkg")
plot(spData::world)
julia = JuliaCall::julia_setup() # setup Julia
```

## Python
Expand All @@ -23,15 +22,15 @@ world.plot()
## Julia

```{julia}
import Pkg; Pkg.add("GeoDataFrames")
using Pkg
Pkg.activate(".")
Pkg.status()
using GeoDataFrames
using Plots
world = GeoDataFrames.read("world.gpkg")
```
```{julia}
# using CairoMakie, GeoMakie
# f, a, p = poly(world.geom)
# poly(f[1, 2], world.geom; axis=(; type=GeoAxis,))
using Plots
plot(world.geom)
```

Expand Down
4 changes: 2 additions & 2 deletions index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ reticulate::py_install("matplotlib")

Install Julia if not already installed:


```bash
curl -fsSL https://install.julialang.org | sh
```
Expand All @@ -62,6 +63,5 @@ Activate the Julia environment:
```{julia}
using Pkg
Pkg.activate(".")
Pkg.instantiate()
Pkg.add("GeoDataFrames")
Pkg.status()
```