Add new flag use_dev_extendr to rust_source() function. If extendr_deps is NULL (i.e. not specified by the user), populates extendr_deps from options, using rextendr.extendr_deps if use_dev_extendr is not TRUE, otherwise, uses rextendr.extendr_dev_deps.
In turn, rextnedr.extendr_dev_deps by default is set to list(`extendr-api` = list(git = "https://github.com/extendr/extendr")).
This allows testing short code snippets against dev extendr with just one extra arg, e.g.
Add new flag
use_dev_extendr
torust_source()
function. Ifextendr_deps
isNULL
(i.e. not specified by the user), populatesextendr_deps
from options, usingrextendr.extendr_deps
ifuse_dev_extendr
is notTRUE
, otherwise, usesrextendr.extendr_dev_deps
.In turn,
rextnedr.extendr_dev_deps
by default is set tolist(`extendr-api` = list(git = "https://github.com/extendr/extendr"))
.This allows testing short code snippets against dev extendr with just one extra arg, e.g.
or, while
either
is not available oncrates.io
,Closes #250