The Stock extension data is throwing an error

Looks that there was an underlying problem in the R package called ‘quant mod’ that is used for the Stock extension data.

The developer of the package has already fixed the issue and the fix is available in the Github, but it will take some time for the fix to be deployed to CRAN (R’s official repository).

If you need to use the Stock extension data now, you can workaround it by directly installing the fixed version from the Github by following the steps below.

  1. Open the R Script Editor, and type the below.


  1. But, MAKE SURE that you uncheck ‘Load this…’ because you don’t want to install this package every time you open this project.

  1. Click the ‘Save’ button, which will run this command and install the package.

  2. Reopen the Project

Once it’s done, get out of the project and reopen it.

Then it should start working.