tests/q.push.test.R

require(qrmarkdown)

message( 'q.push test ')
q.dispatcher(printq = FALSE)

# create new job rmarkdown template
q.new()

# save it to your location with file name. ie./tests/mytest.Rmd
jid <- q.push(name = "My Report Job",
              script='tests/mytest.Rmd')

q.ls(jid)

q.show()

# keep output

jid <- q.push(name = "My Report Job",
              script='tests/mytest.Rmd',
              outputfile = 'tests/Jan.Report.html')

q.ls(jid, view.output=TRUE)

q.rm('*')

q.shutdown()
okux/qrmarkdown documentation built on Dec. 22, 2021, 4:17 a.m.