Re: [R-pkg-devel] Package with JS dependency

2025-02-22 Thread Jon Harmon
There are definitely packages with minified JS. I suspect this GitHub search policy is causing the empty search: "Vendored and generated code is excluded" Even with "is:generated" and/or "is:vendored", I can't get a search to find this, for example: https://github.com/cran/cookies/blob/eb72bda9273

Re: [R-pkg-devel] Native pipe in package examples

2024-01-27 Thread Jon Harmon
See https://github.com/r-lib/httr2/blob/main/configure and https://github.com/r-lib/httr2/blob/main/tools%2Fexamples.R (and https://r-pkgs.org/misc.html#sec-misc-tools if you're not sure what you're looking at). They use a build-time script to change the examples. It looks like it just puts a hea