Hello,

I have installed devtools ans shinytest
install.packages(devtools)

library(devtools)
library(shinytest)

install_github("rstudio/shinytest")

Now, I am trying to use the testing tool with my application by typing startTest() in the console and I get the error:Error in recordTest() : could not find function "recordTest". Is there any thing else I should do?

Thanks

install.packages(devtools)
library(devtools)
library(shinytest)
install_github("rstudio/shinytest")

Is this the order in which you ran these commands? If so, it looks like you installed shinytest after you tried to attach the library.

No, First-I run install.packages(devtools) in the console,
second- I write libary(devtools) in my program
third- I run install_github("rstudio/shinytest") in the console
fourth - I write libary(shinytest) in the program
I am thinking that may be I have to type library(devtools) in the console after the install command

I am thinking that may be I have to type library(devtools) in the console after the install command

Yes, that's necessary. Or next time just run devtools::install_github("rstudio/shinytest"). And you don't need library(devtools) in your program, it's only used to install the shinytest package from github.

1 Like

This post was flagged by the community and is temporarily hidden.

This post was flagged by the community and is temporarily hidden.

This post was flagged by the community and is temporarily hidden.