Analyze the package with RcppDeepState#63
Conversation
RcppDeepState Report
Analyzed functions summary
Report details
|
|
Thanks for this – problems now patched (I think – we'll see whether the test passes!) Is setting up the checks for my other repos (https://github.com/ms609/TreeTools, https://github.com/ms609/TreeSearch, https://github.com/ms609/TreeDist, https://github.com/ms609/Rogue) as easy as copying and pasting the script you've provided, or would you recommend tweaks / are other steps required? |
|
@ms609 I appreciate you include this new action in your repository. If you are familiar with workflows, I recommend manually copying and pasting the RcppDeepState.yml workflow file into your repository and adjusting the parameters according to the instructions provided in the action's repository's README file. One thing to keep in mind is the |
|
Thanks. At https://github.com/ms609/TreeSearch/actions/runs/2956693949 I see the message which seems to cause the entire run to fail – is this the anticipated behaviour? |
|
RcppDeepState currently supports the analysis of the following datatypes:
In this scenario, the package you are trying to analyze includes all functions that use at least one unsupported datatype: As a workaround you can:
|
|
Thanks; I've submitted a PR for the IntegerMatrix type. As writing a custom test harness for each function would entail quite a bit of technical expertise, I wonder whether you might consider allowing the user (or documenting?) an option to simply skip all functions that aren't supported by the current RcppDeepState build? Thanks for the useful package - hoepfully this will end up sparing my users a few crashes down the line! |
|
You are right, writing a custom test harness for each function it's a difficult task. Thank you for adding support for
Regarding this, RcppDeepState currently skips all functions that aren't supported, reporting a warning message. However, if the package only includes functions with unsupported datatypes, RcppDeepState will fail and display an error message. Instead of failing, I feel the acton should report that no function was analyzed without returning an error. I will fix this |
|
I still notice a linking problem in the latest execution log: /github/workspace/src/rearrange.cpp:3:10: fatal error: 'TreeTools/renumber_tree.h' file not found
#include <TreeTools/renumber_tree.h> /* for preorder_edges_and_nodes */
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.This has something to do with FabrizioSandri/RcppDeepState-action#19. I'll update you when this problem is resolved; I'm working on it. |
RcppDeepState Analysis
This package contains problems, according to RcppDeepState. The report was generated by RcppDeepState-action in this repository's fork and is accessible here.