Skip to content

Add ezknitr to cedta.pkgEvalsUserCode #2266

@mattmills49

Description

@mattmills49

ezknitr is a package that helps with using knitr's knit and spin functions that I use frequently in combination with ProjectTemplate project directories. When using the data.table package in my scripts I received the "cedta decided 'ezknitr' wasn't data.table aware" message when attempting to spin the script with the datatable.verbose option set to TRUE. I was able to fix this by running the assignInNamespace("cedta.pkgEvalsUserCode", c(data.table:::cedta.pkgEvalsUserCode,"ezknitr"), "data.table") command but was wondering if ezknitr could be added to the default packages to be excluded in the cedta.R file? If not then that's fine, at least I know how to avoid this error in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions