The dashTable package includes a df_to_list helper function, which relies on the setNames function from the stats package.
The latter is generally attached when R is started, so the fact that we did not import the setNames function in the NAMESPACE file previously was never an issue before, but we really should, as the CRAN test in R CMD check attests. I'm trying to submit the latest core packages to CRAN soon, and right now dashTable fails the check for this reason.
This is a minor change, and I can make it to dev as well. Editing df_to_list so that the call is to stats::setNames will have essentially the same effect as editing the NAMESPACE, and requires no edits to the package generator.
The
dashTable
package includes adf_to_list
helper function, which relies on thesetNames
function from thestats
package.The latter is generally attached when R is started, so the fact that we did not import the
setNames
function in theNAMESPACE
file previously was never an issue before, but we really should, as the CRAN test inR CMD check
attests. I'm trying to submit the latest core packages to CRAN soon, and right nowdashTable
fails the check for this reason.This is a minor change, and I can make it to
dev
as well. Editingdf_to_list
so that the call is tostats::setNames
will have essentially the same effect as editing theNAMESPACE
, and requires no edits to the package generator.