Open fh-kpikhart opened 2 months ago
We have discussed this and it has been brought up in directly #231. My preference would be to always return a list of lists and provide an as_tibble
method to easily coerce. a list of list, IMHO, is a more natural representation of assessments than a df (vectors and dfs, nested in side columns of a df is not m favorite). By extension we should also return the same object type for scores, in this case a df makes sense, as it is one value per colomn.
It would be helpful if pkg_assess() always returned a tibble in order to be able to programmatically manipulate the outputs, but when only 1 pkg_ref is passed in, it returns a list.