Running examples in ‘tcsinvest-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in ‘tcsinvest-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in ‘tcsinvest-Ex.R’ failed
The error most likely occurred in:

> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in ‘tcsinvest-Ex.R’ failed
The error most likely occurred in:

> ### Name: getOrderBook
> ### Title: Download current OrderBook snapshot
> ### Aliases: getOrderBook
> 
> ### ** Examples
> 
> live = FALSE
> token = 'your_sandbox_token_from_tcs_account'
> getOrderBook(token,live,figi = 'BBG005HLTYH9',depth = 5)
Error in -data_asks$quantity : invalid argument to unary operator
Calls: getOrderBook
Execution halted
Running examples in 'tcsinvest-Ex.R' failed
The error most likely occurred in:

> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in ‘tcsinvest-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in ‘tcsinvest-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in 'tcsinvest-Ex.R' failed
The error most likely occurred in:

> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted
Running examples in 'tcsinvest-Ex.R' failed
The error most likely occurred in:

> ### Name: cancelOrder
> ### Title: cancelOrder
> ### Aliases: cancelOrder
> 
> ### ** Examples
> 
> paper_token = 'your_sandbox_token_from_tcs_account'
> cancelOrder(paper_token,'your_order_id')
Error: Please install xml2 package
Execution halted