kevinushey / sourcetools

Tools for reading, tokenizing, and parsing R code.
MIT License
77 stars 3 forks source link

Requires dev testthat? #1

Closed hadley closed 8 years ago

hadley commented 8 years ago

When building, I get:

test-Tokenizer.cpp:1:10: fatal error: 'tests/testthat.h' file not found
#include <tests/testthat.h>
kevinushey commented 8 years ago

Indeed it requires the dev testthat. (I vaguely recall the latest devtools has a way of declaring that?)

hadley commented 8 years ago

You should put a version req in the LinkingTo and add a remotes (see the devtools blog post before last)

kevinushey commented 8 years ago

Thanks! Should be good to go with https://github.com/kevinushey/sourcetools/commit/456e008883622254fa27abdbdcbf367d57bc512d.