-
Notifications
You must be signed in to change notification settings - Fork 2
Description
There are several issues on Windows platform due to deprecated features:
1. file path for file_mru
current code in recent_files
function:
ifelse(
.Platform$OS.type == "windows",
paste0(
Sys.getenv("HOMEPATH"),
"\\AppData\\Local\\RStudio-Desktop\\monitored\\lists\\file_mru"
),
paste0(
Sys.getenv("HOME"),
"/.rstudio-desktop/monitored/lists/file_mru"
)
)
where the actual location for windows should be \\AppData\\Local\\RStudio\\monitored\\lists\\file_mru
2. the API resouse
All API resources have the url prefix https://wakatime.com/api/v1/
now instead of https://api.wakatime.com/api/v1
3. dplyr
functions for DBI
dplyr
functions like db_has_table
and db_drop_table
are not compactable with current versions of DBI
package and produce errors:
Error in UseMethod("db_has_table") : no applicable method for 'db_has_table' applied to an object of class "c('SQLiteConnection', 'DBIConnection', 'DBIObject')"
This has been discussed in https://stackoverflow.com/questions/72329735/error-no-applicable-method-for-dplyr-functions-applied-to-an-object-of-class-c. A solution might be using dbListTables
functions of the DBI
package.
I believe there is a great demand for using WakaTime in RStudio. Hope these questions could be addressed soon.