NEWS.md

rOpenserver 0.1.0.9015

rOpenserver 0.1.0.9014

rOpenserver 0.1.0.9013

rOpenserver 0.1.0.9011

rOpenserver 0.1.0.9010

rOpenserver 0.1.0.9009

rOpenserver 0.1.0.9008

rOpenserver 0.1.0.9007

rOpenserver 0.1.0.9006

rOpenserver 0.1.0.9005

rOpenserver 0.1.0.9004

> library(rOpenserver)
> 
> test_check("rOpenserver")
-- 1. Error: README code behaves the same in tests (@test_readme.R#26)  --------------------------------------
object 'open_cmd' not found
Backtrace:
 1. R62S3:::DoCmd(prosper_server, open_cmd)
 4. private$get_app_name(command)
 5. base::toupper(string_value)

This form of command using S3 dispatch works in the README but fails in the unit tests. Why? Even adding object as an argument to the method in the OpenServer class doesn't help either. Because the package R62S3 conveniently generates the S3 methods for R6 classes but through the environment, which is not available at unit test time.

rOpenserver 0.1.0.9003

rOpenserver 0.1.0.9002

rOpenserver 0.1.0.9000



f0nzie/rOpenserver documentation built on July 9, 2020, 7:59 a.m.