Open dcooley opened 4 years ago
Good questions. I don't know. Good thing is I think we're not in a rush.
Can LinkingTo
s be optional like Suggests
?
As things currently stand, that would eliminate jsonify
as an option for Windows and those lacking C++17 compilers.
Can LinkingTos be optional like Suggests?
No. Only Suggests: has optionality :-/
It would be nice. I'm presently using both in a package I'm developing :)
I actually implemented a 'conditional' LinkingTo: once in a package in configure
logic. If the (otherwise) Suggests:-only package is present, add a -I....
to the preprocessor/compiler flags. Easy enough and reliable.
Given
RcppSimdJson:::..deserialize_json()
can replicate the behaviour ofjsonify::from_json()
, should I includeRcppSimdJson
as aLinkingTo
, and use it if the end-user's hardware is up to it?A wider question for @eddelbuettel & @knapply :
Do you think it's worth consolodating these libraries into one R package, which will automatically call either the
simdjson
orrapidjson
.h code depending on the user's hardware?Then there will only be one package which does both the
from_json()
andto_json()