Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd missing quotes in requireNamespace call #5
Conversation
|
Ooops. Good catch. Thanks. And it probbaly want Package probably needs a refresher anyway. [ But everybody should use Rcpp Attributes these days... ] |
Add missing quotes in requireNamespace call
56d0bf3
into
eddelbuettel:master
|
Thanks! I only used the package because I needed to link Boost's iostreams for an inline benchmark and couldn't figure out how to do it with |
|
Does iostream require a library for linking? Some of these can be used with and without linking, eg Boost Date_time can be used without parsers and formatters, in which case headers-only is good enough. And then you can get by with a plugin .... but that is maybe a discussion to be had on rcpp-devel. |
|
Yes, it looks like IOStreams is not header-only. I need it for parsing gzipped files without giving up on the convenience of using |
|
Nice. You may be able to cheat as we get the compression library from R. See what I do in RcppCNpy to open compressed files. You could then go over the file pointer with |
|
Thanks, I didn't know that zlib is bundled with R. I was looking at RcppCNpy and was wondering how you manage that dependency, so now I have my answer. I found a small library called Gzstream that provides an |
|
Yes, for some smaller packages where I didn't care that I might loose some users on really old systems I just turned C++11 on -- it even kinda sorta somewhat works on Windows with g++ 4.6.3, and gets rid of some issues (ie the stupid |
The following happens if the
Rcppargument isTRUEincfunction: