FormatFile() public static method

public static FormatFile ( CoreTestFilesFixture fixture, string name, Microsoft.R.Core.Formatting.RFormatOptions options ) : void
fixture CoreTestFilesFixture
name string
options Microsoft.R.Core.Formatting.RFormatOptions
return void
示例#1
0
        public void IfElse()
        {
            RFormatOptions options = new RFormatOptions {
                IndentSize = 2
            };

            FormatFilesFiles.FormatFile(_files, @"Formatting\ifelse.r", options);
        }
示例#2
0
        public void Args()
        {
            RFormatOptions options = new RFormatOptions {
                IndentSize = 4
            };

            FormatFilesFiles.FormatFile(_files, @"Formatting\args.r", options);
        }
示例#3
0
        public void LeastSquares()
        {
            RFormatOptions options = new RFormatOptions {
                IndentType = IndentType.Tabs
            };

            FormatFilesFiles.FormatFile(_files, @"Formatting\lsfit.r", options);
        }