[Solved] Pass URL (GET) Parameters to LearnR

I would like to pass parameters to learnR via the URL hosting the learnR instance, such as https://mydomain.com/learnR/?&param1=testValue.

I found the solution. Create a new r chunk with the "server" context. This context will get session info, which contains client data and the URL. From there, you can get what ever parameters that are passed into the URL to access the learnR page.

```{r context="server"}
  query <- parseQueryString(session$clientData$url_search)
  param1<- query[['param1']])