Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Partial argument name: read.table(..., comment = ";") #135

Closed
HenrikBengtsson opened this issue Mar 28, 2022 · 0 comments
Closed

Partial argument name: read.table(..., comment = ";") #135

HenrikBengtsson opened this issue Mar 28, 2022 · 0 comments

Comments

@HenrikBengtsson
Copy link

The comment = ";" in:

crayon/R/ansi-palette.R

Lines 91 to 102 in 77e5d90

ansi_palettes <- rbind(
utils::read.table(
"tools/ansi-palettes.txt",
comment = ";",
stringsAsFactors = FALSE
),
utils::read.table(
"tools/ansi-iterm-palettes.txt",
comment = ";",
stringsAsFactors = FALSE
)
)

should be comment.char = ";".

Got a warning about this during package installation;

* installing *source* package ‘crayon’ ...
** package ‘crayon’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** byte-compile and prepare package for lazy loading
Warning in utils::read.table("tools/ansi-palettes.txt", comment = ";", stringsAsFactors = FALSE) :
  partial argument match of 'comment' to 'comment.char'
Calls: <Anonymous> ... tryCatchOne -> doTryCatch -> sys.source -> eval -> eval -> rbind
Warning in utils::read.table("tools/ansi-iterm-palettes.txt", comment = ";",  :
  partial argument match of 'comment' to 'comment.char'
Calls: <Anonymous> ... doTryCatch -> sys.source -> eval -> eval -> rbind -> rbind
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (crayon)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant