Semi-Automatic Grading of R and Rmd Scripts
Convert adjacency list to a matrix
TreeHarp Cast a TreeHarp to Matrix.
autoharp: Semi-Automatic Grading of R and Rmd Scripts
Carve a Minimal Spanning Tree Out
Carve out branches to form a new tree.
Check correctness of student solution rmd.
Check if a File is Rmd
Calculate Run-time Statistics
Removes md Files when no HTML Present
Copy an object from one env to another.
Lint counter
File lint counter
Calculates the Total Memory Used
Extract chunks that match a pattern.
Extract non-chunks from an Rmd file.
Extract section text from Rmd
Apply a function to a forest of trees.
Find the branch that leads from one node to another.
Forestharp helpers
Generate all subtrees from a tree.
Generate a html of thumbnails
Generic for Getting Adjacency List
Generic for Getting Child Node Ids
Get the children node ids
Obtains the node levels from a tree.
Extracts the Packages Used in An Rmd File.
Get the id and depth of a child node.
Generate the next sub-tree.
Generic for Getting Node Types
Get Node Id of Parent Call
Generic for Getting Parent Node Id.
Get the parent node id
Obtain an index to extract out a sub-call
Function to extract the summary content
Checks if a graph is connected.
Checks if a graph contains any cycles.
Checks if a tree is rooted at a node of another tree.
Computes Jaccard Index
Root a list of trees.
Compute tree similarity
Keep only branches specified by node numbers
Convert language object to tree.
Generate a dataframe from the log file.
Convert adjacency matrix to a list.
Extract a path from node to root.
Pipe operator
TreeHarp Plotting TreeHarp Objects
Returns solution environment and test code from template.
Prune a tree up to a specified depth.
Update node information.
Obtains the Root File Name, without Extension.
Run a single Rmd file through autoharp.
Replace Special Characters in File Name
Reset search path of current R session
Convert to TreeHarp objects
Count tokens in R/Rmd
Runs the student-facing feedback app
Extract a sub-tree.
Function to rearrage nodes in BFS
Compute tree similarity
An R expression as a tree.
Update adjacency list.
A customisable set of tools for assessing and grading R or R-markdown scripts from students. It allows for checking correctness of code output, runtime statistics and static code analysis. The latter feature is made possible by representing R expressions using a tree structure.