Skip to content

R CMD check: Error in get("ptime", pos = "CheckExEnv") ...

3 messages · Brian Ripley, Johannes Graumann

#
Hi,

Does anyboody have insight into what this error terminating "R CMD check" on 
an in-house package may imply?
Error in get("ptime", pos = "CheckExEnv") : 
  unused argument(s) (pos = "CheckExEnv")
Calls: cat -> cat.default -> <Anonymous> -> get
Execution halted

It happens in the "* checking examples ... ERROR" section, yet the example 
code in the file cited as the most likely source works just fine when 
executed manually ...

thanks for any hint. 

Sincerely, Joh
#
On 30/01/2013 06:02, Johannes Graumann wrote:
You have re-defined cat(), so I guess you re-defined get() too.

  
    
#
Prof Brian Ripley wrote:

            
Aha! "cat" not, but one of my functions contains indeed
How does one prevent interference like the one I see. Is the only way to re-
name the "Get"?

Thanks for any hints.

Sincerely, Joh