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

Silence Warning #95

Open
msgoussi opened this issue Nov 2, 2022 · 1 comment
Open

Silence Warning #95

msgoussi opened this issue Nov 2, 2022 · 1 comment

Comments

@msgoussi
Copy link

msgoussi commented Nov 2, 2022

When i run this code

taskscheduler_ls

i get this warning:
Warning message:
In data.table::fread(f, encoding = encoding, ...) :
Found and resolved improper quoting in first 100 rows. If the fields are not quoted (e.g. field separator does not appear within any field), try quote="" to avoid this warning.

Please advise.

@jwijffels
Copy link
Collaborator

jwijffels commented Nov 2, 2022

The package uses data.table::fread to read the output from schtasks /Query /FO CSV /V and falls back to utils::read.csv in case the fread would fail. The message indicates fread solved improper quoting of the csv file outputted by schtasks

https://github.com/bnosac/taskscheduleR/blob/master/R/taskscheduleR.R#L20

What does the output of taskscheduler_ls() look like for you?

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

2 participants