r-rust / hellorust

Template R package with rust bindings
Other
257 stars 20 forks source link

Shortcut around CRAN rules if possible #14

Closed nfultz closed 1 year ago

nfultz commented 1 year ago

There's some logic to re-download all cargo deps for CRAN in Makevars. I saw the comment about commenting it out, but would be nice to add a

ifdef NOTCRAN
  # fast
else 
   #slow
endif

around it. iirc testthat does a similar trick.

eitsupi commented 1 year ago

How about this? extendr/rextendr#233

nfultz commented 1 year ago

They say great minds think alike :)

On Thu, Mar 23, 2023 at 6:42 AM eitsupi @.***> wrote:

How about this? extendr/rextendr#233 https://github.com/extendr/rextendr/pull/233

— Reply to this email directly, view it on GitHub https://github.com/r-rust/hellorust/issues/14#issuecomment-1481217459, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGGTSUGZH7FOW3VLD3RJ3W5RHLVANCNFSM6AAAAAAWEDK7RM . You are receiving this because you authored the thread.Message ID: @.***>