Skip to content
Prev 12027 / 12125 Next

[R-pkg-devel] Specifying non-C/C++ build-time dependency

(forgot to CC the list on my previous reply)

Hey Andrew,

To avoid needing to declare the dependency in any context, assuming that
the minification is deterministic and not dependent on any details of the
runtime environment (like CPU architecture), I recommend just doing the
minification in a shell script, Makefile, etc. BEFORE calling `R CMD
BUILD`, then uploading a package to CRAN vendoring already-minified sources.

I think you'll find it's easier that way (and easier for any users who end
up building your package from source).

Cheers,

- James

On Tue, Jan 13, 2026, 11:55?PM Andrew Johnson <
andrew.johnson at arjohnsonau.com> wrote:

            

  
  
Message-ID: <CADPubGTEthpDPtE85GB8mrTM5nte02zjmeLR4n_p2dxp7r8TxA@mail.gmail.com>
In-Reply-To: <SY3PPF8CBDD8E6E9C715412C20D58DD9F30978FA@SY3PPF8CBDD8E6E.AUSP282.PROD.OUTLOOK.COM>