dalejn / cleanBib

Probabilistically assign gender and race proportions of first/last authors pairs in bibliography entries
MIT License
149 stars 31 forks source link

Parsing error in Block 3 #36

Closed dianaperez25 closed 2 years ago

dianaperez25 commented 2 years ago

I get this error when I try to run block 3:

File contains parsing errors: [line 2]: genderAPI_key <- '&key=####'

fileConn<-file("genderAPIkey.txt") writeLines(c(genderAPI_key), fileConn) close(fileConn)

Invalid statements: SyntaxError('invalid syntax', ('', 19, 11, 'for(i in 1:nrow(names)){\n'))

dalejn commented 2 years ago

Hi, thanks for reaching out! I've edited your comment to remove the API key for privacy. I've just tried block 3 with your key and it looks like everything's working. Could it be that you're using a previously saved link or a bookmark to boot up the Binder? Note that we updated the link in the README, so please use that button to launch the Binder (that button should always contain a currently working link). Link copied here. Sorry about the mix-up! We changed this link a few months ago temporarily to fix a different issue and haven't gotten back to reverting it to the older, simpler one yet. Hopefully this resolves it--let me know if I can help more!