dwulff / text2sdg

Detect UN Sustainable Development Goals in Text
https://www.text2sdg.io/
16 stars 4 forks source link

Malformed `left_join()` call #4

Closed krlmlr closed 2 months ago

krlmlr commented 2 months ago

https://github.com/dwulff/text2sdg/blob/0a2f599f4cedba2fe59bd854fd241b9bc554da5d/R/crosstab.R#L125-L129

The dplyr::select(document, system, sdg, hit) will be matched to the copy argument. It doesn't raise an error because dplyr currently doesn't force the copy argument in this case, but raises an error with duckplyr.

psychobas commented 2 months ago

Thanks a lot for noting that @krlmlr! Will this fix immediately.