Skip to content

unused argument (encoding = "native.enc")  #1050

@ghost

Description

Replicate

Install styler:

sudo su -
R
install.package( "styler" )

Use styler:

cd /tmp
wget https://raw.githubusercontent.com/DaveJarvis/keenwrite/master/R/possessive.R
R
library( "styler" )
style_file( "possessive.R" )

Expected

File is reformatted.

Actual

File is not reformatted.

Styling  1  files:
 possessive.R ⚠ 
────────────────────────────────────────
Status	Count	Legend 
✔ 	0	File unchanged.
ℹ 	0	File changed.
✖ 	1	Styling threw an error.
────────────────────────────────────────
Warning message:
When processing possessive.R: unused argument (encoding = "native.enc") 

Environment

$ R --version
R version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions