Installing shinytest

rstudio

#1

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


#2
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.


#3

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


#4

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.


#5

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


#6

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


#7

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