distill: Error: Radix articles cannot be previewed in this version of RStudio.

Please update to version 1.2.718 or higher at https://www.rstudio.com/products/rstudio/download/preview/

My version RStudio is “Version 1.2.1004”, but I still got this error.

I think the error is because of the code if (rstudio$version < "1.2.718")

Truly, the "1.2.1004"< "1.2.718" is TRUE, which shouldn’t be.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 17 (5 by maintainers)

Most upvoted comments

Now I see, the rollover of the RStudio Preview version to 4 digits (“1004”) is what is making this fail. Fix is checked in here: https://github.com/rstudio/radix/commit/1f08ddaf0e3f0a50c30599fc4b51c33c51596b86

To install the fixed version:

devtools::install_github("rstudio/radix")

Yes, both have been updated