-
Notifications
You must be signed in to change notification settings - Fork 11
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
Rgui names deprecated warning #239
Comments
Might be good to double-check the |
Thanks, I don't ever use it indeed. Looks fine. I'll try to check our code later today. |
possible fix in #240 |
I think I'm getting this. Trying to use openxlsx2 interactively in VSCode is impossible, and it winds up breaking something in R so badly that every single operation in the console spams a message about openxlsx2. r$> library(tidyverse)
-- Attaching packages ---------------v ggplot2 3.3.5 v purrr 0.3.4
v tibble 3.1.6 v dplyr 1.0.7
v tidyr 1.1.4 v stringr 1.4.0
v readr 2.1.1 v forcats 0.5.1
-- Conflicts ------------------------x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
r$> library(openxlsx2)
Attaching package: 'openxlsx2'
The following object is masked from 'package:readr':
write_file
r$>
bigtest<-wb_workbook()
warning messages from top-level task
callback 'vsc.workspace'
Warning message:
'names.wbWorkbook' is deprecated.
Use '$get_sheet_names()' instead.
See help("Deprecated")
r$> 2+2
[1] 4
warning messages from top-level task
callback 'vsc.workspace'
Warning message:
'names.wbWorkbook' is deprecated.
Use '$get_sheet_names()' instead.
See help("Deprecated")
|
Hi @D3SL , thanks for the report. That is a bit inconvenient and as a first attempt we should simply drop the depreacted warning on It's not visible in Rstudio nor in R in a console on Linux or Mac where we tested. |
When importing a workbook in Rgui and selecting
wb$sharedStrings
I see a warning that I should useget_sheet_names
. Not sure if spurious or if we usenames
somewhere in our code.The text was updated successfully, but these errors were encountered: