Skip to content

better primitives docs and comments, and some tweaks #136

better primitives docs and comments, and some tweaks

better primitives docs and comments, and some tweaks #136

Triggered via pull request December 27, 2023 01:56
Status Success
Total duration 9m 27s
Artifacts

CI.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Julia 1.6 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Julia 1 - ubuntu-latest - x64 - pull_request
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/centroid.md:30-34 ```@example cshape cent = centroid(cshape) scatter!(a, GI.x(cent), GI.y(cent), color = :red) f ``` value = UndefVarError: `GI` not defined
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/distance.md:19-31 ```@example rect using GeometryOps using GeometryOps.GeometryBasics using Makie rect = Polygon([Point(0,0), Point(0,1), Point(1,1), Point(1,0), Point(0, 0)]) point_in = Point(0.5, 0.5) point_out = Point(0.5, 1.5) f, a, p = poly(rect; axis = (; aspect = DataAspect())) scatter!(f, point_in) scatter!(f, point_out) f ``` value = `Makie.convert_arguments` for the plot type Scatter{Tuple{Figure, Point2{Float64}}} and its conversion trait PointBased() was unsuccessful. The signature that could not be converted was: ::Figure, ::StaticArraysCore.SizedVector{2, Float32, Vector{Float32}} Makie needs to convert all plot input arguments to types that can be consumed by the backends (typically Arrays with Float32 elements). You can define a method for `Makie.convert_arguments` (a type recipe) for these types or their supertypes to make this set of arguments convertible (See http://docs.makie.org/stable/documentation/recipes/index.html). Alternatively, you can define `Makie.convert_single_argument` for single arguments which have types that are unknown to Makie but which can be converted to known types and fed back to the conversion pipeline.
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/distance.md:35-39 ```@example rect distance(point_in, poly) # == 0 signed_distance(point_in, poly) # < 0 signed_distance(point_out, poly) # > 0 ``` value = MethodError: no method matching distance(::GeoInterface.PointTrait, ::Point2{Float64}, ::Nothing, ::typeof(poly)) Closest candidates are: distance(::GeoInterface.PointTrait, ::Any, !Matched::GeoInterface.MultiPolygonTrait, ::Any) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/distance.jl:150 distance(::GeoInterface.PointTrait, ::Any, !Matched::GeoInterface.PolygonTrait, ::Any) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/distance.jl:143 distance(::GeoInterface.PointTrait, ::Any, !Matched::GeoInterface.PointTrait, ::Any) @ GeometryOps ~/work/GeometryOps.jl/GeometryOps.jl/src/methods/distance.jl:116 ...
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/equals.md:13-25 ```@example cshape using GeometryOps using GeometryOps.GeometryBasics using Makie using CairoMakie l1 = GI.LineString([(0.0, 0.0), (0.0, 10.0)]) l2 = GI.LineString([(0.0, -10.0), (0.0, 3.0)]) f, a, p = lines(GI.getpoint(l1), color = :blue) scatter!(GI.getpoint(l1), color = :blue) lines!(GI.getpoint(l2), color = :orange) scatter!(GI.getpoint(l2), color = :orange) ``` value = UndefVarError: `GI` not defined
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/equals.md:28-30 ```@example cshape equals(l1, l2) # returns false ``` value = UndefVarError: `l1` not defined
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/intersects.md:36-42 ```@example intersects_intersection int_bool = GO.intersects(line1, line2) println(int_bool) int_point = GO.intersection(line1, line2) scatter!(int_point, color = :red) f ``` value = UndefVarError: `GO` not defined
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/overlaps.md:18-30 ```@example cshape using GeometryOps using GeometryOps.GeometryBasics using Makie using CairoMakie l1 = GI.LineString([(0.0, 0.0), (0.0, 10.0)]) l2 = GI.LineString([(0.0, -10.0), (0.0, 3.0)]) f, a, p = lines(GI.getpoint(l1), color = :blue) scatter!(GI.getpoint(l1), color = :blue) lines!(GI.getpoint(l2), color = :orange) scatter!(GI.getpoint(l2), color = :orange) ``` value = UndefVarError: `GI` not defined
Documentation: ../../../.julia/packages/Documenter/H5y27/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/source/methods/overlaps.md:32-34 ```@example cshape overlap(l1, l2) ``` value = UndefVarError: `overlap` not defined
Documentation
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/