dupree() filters out trivial symbols and then quantifies the similarity between the blocks that remain. But this means that:
library(dplyr)
gets converted to non-trivial symbols
"library dplyr"
so any pair of files containing library(dplyr) will match exactly for this specific block.
We either need a way of running dupree for blocks that are of at least this length or a way of returning results from dupree that contain the block-lengths for each compared pair of blocks.
dupree()
filters out trivial symbols and then quantifies the similarity between the blocks that remain. But this means that: library(dplyr) gets converted to non-trivial symbols "library dplyr"so any pair of files containing
library(dplyr)
will match exactly for this specific block. We either need a way of running dupree for blocks that are of at least this length or a way of returning results from dupree that contain the block-lengths for each compared pair of blocks.