This code (wordle.R) will solve the daily wordle with an average of 3.6 guesses using only base R. It guesses the word that partitions the sample space the best. The file tester.R is also included which simulates the gameplay with a given first guess.