Dataframe duplicating a vector into multiple columns

When I create a dataframe from a list of files, and some numbers associated with them, instead of getting a dataframe with two columns, I get a square one, with the same number repeated across rows. Example:

Please post the output of

dput(test_files)

and

dput(relative_sizes)

Put a line with three back ticks before and after each block of output like this:
```
output of dput() goes here
```