context("gym_continuous")
test_that("test ddpg works", {
skip_on_cran()
skip("skipping ddpg")
env = makeGymEnv("Pendulum-v0")
conf = getDefaultConf("AgentDQN")
agent = initAgent("AgentDDPG", env, conf)
agent$learn(1)
expect_true(T)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.