I'm using helpExtract
function from SOfun
package (written by @Ananda Mahto). The package SOfun
can be installed from github
using the following command:
devtools::install_github("mrdwab/SOfun")
library(SOfun)
The following command gives in the package document works fine.
textConnection(
helpExtract(Function = cor, section = "Examples", type = "s_text")
)
However the same command when using the argument package=
fails.
textConnection(
helpExtract(Function = cor, section = "Examples", type = "s_text", package = "stats")
)
And throws the follow error message:
Error in textConnection(helpExtract(Function = cor, section = "Examples", :
argument 'object' must deparse to a single character string