▸ Week 12 Summary
Pull requests and changes made in twelfth week
Introduction
This post is meant to be a reference for the work I’ve done during the twelfth week.
Week 12
My mentor has assigned me an interesting task to begin working on this week: test the current RcppDeepState GitHub Action on GitHub-hosted Rcpp-based packages. This was the main task of this week. With the help of a blog post, I carefully described all of the processes required to beta test the RcppDeepState-action.
Regarding RcppDeepState the changes of this week amount to:
- solved the issue that happens when a function takes a
std::stringas input. This issue was caused by the conversion to string usingRcpp::as<std::string>; - solved the issue caused by RcppDeepState that overwrites the default
Makevarsfile with a flag to include debug symbols in the compiled shared object file(PKG_CXXFLAGS += -g); - written a wiki page to serve as a reference for users who want to extend RcppDeepState’s support for additional datatypes.
Talking about RcppDeepState-action:
- solved the issue with the
getErrorsCountfunction’s unusual error message,'list' object cannot be coerced to type 'double'. This resulted from the incorrect use of the list’ssumfunction and thelapplyfunction. The solution was to usesapplyinstead oflapplyto create a vector; - changed the name of the
time_limitparameter tomax_seconds_per_function. This clarifies the time limit parameter’s measurement unit; - checked whether single quotes are required for parameters like booleans and integers inside workflow files;
Reference
Pull requests:
- Harness creation improvements - 3
- Makevars issue
- Get errors count
- Parameters names/values
- Rcppdeepstate PR from another repo
Issues:
Blog posts:
Wiki page: