edublancas / song-lyrics

Exploratory Analysis of 200K+ song lyrics from the 1 million songs dataset
https://blancas.io/song-lyrics/
MIT License
5 stars 1 forks source link

Cannot build report #30

Closed edublancas closed 6 years ago

edublancas commented 6 years ago

I am getting the following error when trying to build the report:

Error in parse_block(g[-1], g[1], params.src) :
  duplicate label 'nrcGenreYear'
Calls: render ... process_file -> split_file -> lapply -> FUN -> parse_block
Execution halted

Please fix so we can build it.

jose-alvarado-guzman commented 6 years ago

Fixed the issue, please try again and let me know if you encounter something else.

edublancas commented 6 years ago

Im getting a different error now

  |..................                                               |  27%
label: wordCloud
Quitting from lines 314-316 (all.Rmd)
Error in eval(lhs, parent, parent) : object 'songsDataEng' not found
Calls: render ... withCallingHandlers -> withVisible -> eval -> eval -> %>% -> eval -> eval
edublancas commented 6 years ago

Another error:

label: affinGenreArtist (with options)
List of 2
 $ fig.height: num 15
 $ fig.width : num 12

Joining, by = "word"
Quitting from lines 391-409 (all.Rmd)
Error in FUN(X[[i]], ...) : argument is missing, with no default
Calls: render ... by_layer -> f -> <Anonymous> -> f -> lapply -> FUN -> FUN
In addition: Warning messages:
1: Coercing int64 to double
2: Coercing int64 to double
3: Removed 10 rows containing non-finite values (stat_bin).
4: Removed 101507 rows containing non-finite values (stat_bin).
5: Removed 354 rows containing missing values (geom_path).
6: Removed 51 rows containing missing values (geom_path).

Execution halted
make: *** [report] Error 1
edublancas commented 6 years ago

Please run make report to make sure it runs without errors

edublancas commented 6 years ago

Some final comments on the sentiment part:

edublancas commented 6 years ago

The report is still broken

  |...................                                              |  29%
label: wordCloud
Quitting from lines 326-328 (all.Rmd)
Error: Column `words` must have a unique name
In addition: Warning messages:
1: Coercing int64 to double
2: Coercing int64 to double
3: Removed 10 rows containing non-finite values (stat_bin).
4: Removed 101507 rows containing non-finite values (stat_bin).
5: package 'tidytext' was built under R version 3.4.4
edublancas commented 6 years ago

@aaronsadholz @valmikkpatel @jose-alvarado-guzman i fixed the issue and compiled. Report is here: https://blancas.io/song-lyrics/index.html I will submit, if anyone wants to change anything let me know so we can re-submit again. It is also available on the repo (index.html)