Is it possible to ignore parts or all of a domain specific language? #876
Replies: 1 comment 9 replies
-
You could enclose the function definition in evalq() or eval(quote()). {targets} uses code tools::findGlobals() (mostly). |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is related to #701 and the same as the drake issue in ropensci/drake#910.
We had previously discussed this issue for
drake
. As I'm working on an identical model withtargets
, I'm having the identical issue. Indrake
, I would have usedignore()
, but I don't see something equivalent intargets
. Is there a way to telltargets
to ignore something for parsing likedrake
could?The real example uses the
nlmixr2
library, butidentity()
illustrates the reprex.Created on 2022-07-15 by the reprex package (v2.0.1)
Beta Was this translation helpful? Give feedback.
All reactions