Trevor L. Davis

Results 124 comments of Trevor L. Davis

* Bug fixed upstream in `{rayrender}` v0.34.3 which was successfully published on CRAN * We still need to bump the version number of `{rayrender}` to v0.34.3 in our `DESCRIPTION` file...

Another possibly useful S3 method: ```r as.raster.pixeltrix 0L && ncol(x) > 0L) { cols

Note you can cast `Date` and `POSIXt` objects to `{parttime}` objects using `{datetimeoffset}` as an intermediary: ```r Sys.Date() |> datetimeoffset::as_datetimeoffset() |> parttime::as.parttime() ``` ``` [1] "2024-05-15" ``` ```r Sys.time() |>...

> Before jumping into changes, I'm curious - do you have a use case where yearweeks are frequently used? Although I have my Google calendar set to also show the...

The [Extended Date Time Format (EDTF)](https://www.loc.gov/standards/datetime/) is an ISO 8601 extension that uses `X` to replace missing middle components e.g. `2020-XX-02` and uses `?` for another use case.

> vdiffr is indeed based on svglite but is embedded as its own graphic device... Note you can tell `{vdiffr}` to directly use `svglite::svglite()` instead of its own (more conservative...

Did some testing around and the new affine transformation support look good to me but the stroking and filling paths don't seem to render for me. When I look at...

* Okay, I had mistakenly thought since `cairo_pdf()` (seemingly) doesn't convert normal text to polygons (i.e. you can copy and paste text from the pdf) but does convert stroke/fill text...

* `pdf_pagesize()` returns a data frame with page size information (one row per page). This can be used to calculate whether a page is in "portrait" or "landscape" mode (but...

According to [`{showtext}` intro vignette](https://cran.r-project.org/web/packages/showtext/vignettes/introduction.html): > showtext renders text by converting it into color-filled polygonal outlines (for vector graphics) or raster images (for bitmap and on-screen graphics). Therefore, the rendered...