UBC-MDS / RDataPeek

Other
0 stars 1 forks source link

Origin/project bubble #22

Closed MrThomasPin closed 4 years ago

moniquewong commented 4 years ago

Looks great!

moniquewong commented 4 years ago

On a next iteration, it might be worth it to pull out the repeated code in each test function outside of each function. For example, the following is repeated quite a few times:

file_path <- "test_data/test_movie.xlsx"
expected_path <- "test_image/wordcloud.png"

You can define these outside of the functions and reuse them inside the functions.