[Solved]
I would like to pass parameters to learnR via the URL hosting the learnR instance, such as https://mydomain.com/learnR/?¶m1=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"}
observe({
query <- parseQueryString(session$clientData$url_search)
param1<- query[['param1']])
})
'''