tests/testthat/test_gym_ddpg.R

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)
})
compstat-lmu/rlR documentation built on June 26, 2019, 5:56 p.m.