Mike O'Brien

Results 7 issues of Mike O'Brien

In RStudio, creating a new project via: File > New Directory > New Project or File > New Directory > Quarto Project seems to do the same thing, the only...

feature
docs 💡

Everything evaluates fine, but the terms are not ordered after `parametric_effects` and plotted in alphabetical order. The factor and its ordering look to become [purposefully uncoupled](https://github.com/gavinsimpson/gratia/blob/main/R/parametric-effects.R#L135-L139) into row order, an...

Response to #86. There are a bunch of misc. [Air](https://www.tidyverse.org/blog/2025/02/air/) formatting changes in there (sorry!), so here are the pertinent changes for your review: - Convert `layer` argument to `layer_id`...

My assumption was that layer ID would be referred to the same way across functions. However: - [`set_filter`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L61), [`clear_layer`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L99), and [`move_layer`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L298) refer to layer as `layer_id`. - [`set_layout_property`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L131), [`set_paint_property`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L170), [`set_tooltip`](https://github.com/walkerke/mapgl/blob/main/R/shiny.R#L334),...

Attempts to address #164. Currently untested! Big things are: - Extract file extension using `tools::file_ext` (tools is part of R base) rather than `str_extract`, as the current regex fails when...

I'd like to request that the `beforeMap` and `afterMap` variables be exposed in the respective `X_compare.js`, I imagine in a similar way to the `getMap` function in [`mapboxgl.js`](https://github.com/walkerke/mapgl/blob/main/inst/htmlwidgets/mapboxgl.js#L2182-L2184) and [`maplibregl.js`](https://github.com/walkerke/mapgl/blob/main/inst/htmlwidgets/maplibregl.js#L2190-L2192)....

Some expressions -- I know of match and step, at least, but possibly more -- can accept arrays if they are wrapped in `["literal", [...]]` https://docs.mapbox.com/style-spec/reference/expressions/#types-literal Catching nested vectors supplied...