You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is, that deparse_line() is using deparse() which has a maximum cutoff-width of 500 (this max is being used). If the result of deparse exceeds this limit, a vector of length > 1 is produced. deparse_line() is being used in a map_chr() call on a table, so if the result for one of the columns is a vector of length > 1, an error is thrown.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
The problem is, that
deparse_line()
is usingdeparse()
which has a maximum cutoff-width of 500 (this max is being used). If the result of deparse exceeds this limit, a vector of length > 1 is produced.deparse_line()
is being used in amap_chr()
call on a table, so if the result for one of the columns is a vector of length > 1, an error is thrown.Created on 2022-09-12 by the reprex package (v2.0.1)
A possible solution could be to use
map()
instead ofmap_chr()
and flatten the elements of the resulting list before working further with them.The text was updated successfully, but these errors were encountered: