Everything I've read about this problem revolves around check_availability() = FALSE. However, mine is TRUE, but I'm still getting the "attempt to apply non-function" error. Here's the code I'm trying to run:
reticulate::py_config()
library(fuzzywuzzyR)
check_availability()
init <- FuzzMatcher$new()
init$Partial_token_set_ratio(string1 = "Clare", string2 = "Claire", force_ascii = TRUE, full_process = TRUE)
And the output:
[1] TRUE
Error in init$Partial_token_set_ratio(string1 = "Clare", string2 = "Claire", : attempt to apply non-function
Am I doing something wrong? Or is there a fix for this?
I've found articles such as:
https://github.com/mlampros/fuzzywuzzyR/issues/1
FuzzywuzzyR error attempt to apply non-function
https://community.rstudio.com/t/r-fuzzy-wuzzy-error-message-attempt-to-apply-non-function/72512
They either don't apply to my problem exactly, or I don't understand them.