-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Description
Using styler as RStudio addin with options(OutDec = ",") breaks styler. Since I am working with german projects, this is an issue. Creating and running the demo file below and then trying Style active file from the Addins dropdown menu produces an error.
File to demonstrate problem
---
title: "test styling"
author: "Erich Neuwirth"
date: "2/8/2022"
output: html_document
---
knitr::opts_chunk$set(echo = TRUE)
options(OutDec = ",")
cat(1+1)
Commands producing the error
> styler:::style_active_file()
Using style transformers `styler::tidyverse_style()`
Error: invalid version specification ‘3,6’