cpp_source()now gets an argument
dirto allow customized temporary directory to store generated source files. It makes it easier to debug C++ source files in non-package project via source mapping. (@renkun-ken, #156)
cxx_stdargument to control which C++ standard is used. This allows you to use code from
C++14and later standards with cpp_source(). (#100)
cxx_stdchunk option to control the C++ standard used.
cpp_source()now has much more informative error messages when compilation fails (#125, #139)
cpp_source()now uses a unique name for the DLL, so works when run multiple times on the same source file on Windows (#143)
writable::list_of<T>now supports modification of vectors as intended (#131).
tools::package_native_routine_registration_skeleton()are no longer swallowed (#134)
cpp_source()can now accept a source file called
named_argnow explicitly protect their values, avoiding protection issues when using large inputs. tidyverse/readr#1145
Rf_mkChar(), which avoids the performance cost of checking the string length.
r_vector::const_iterator::operator*is now a const method (#113, @bkietz, @xhochy)
as_cpp<double>() now implicitly coerce between all 3 types of single NA values (#53).
END_CPP macro now includes a
catch(...) block to catch all C++ exceptions that do not inherit from
Improve consistency of inserting NA values in r_string objects (#45)
NEWS.md file to track changes to the package.