Open schroedermark165 opened 1 year ago
I'm unable to replicate this. I see 4 .R files:
What version of the integral package are you running? Latest is 1.0.2.9001, so if you are behind try updating.
Update from Mark: This is happening on the AVD GPU, but works fine on AVD Workspace
I have traced this back to the filter argument in rstudioapi::selectFile()
. The current function code is:
filepath <- rstudioapi::selectFile(caption = "Select File to QA",
label = "Run QA", path = rstudioapi::getActiveProject(),
filter = "R files (*.R | *.Rmd)", existing = TRUE)
Changing the "filter" argument to either filter = "(*.R | *.Rmd)"
or filter = "R Files (*.R)"
will show the .R files.
I am at a loss as to why this works on standard AVD workspace but not on GPU.
Temporary solution on AVD GPU is to just supply the file path to ic_qa()
, ie ic_qa("//integral/filepath/script.R")
Describe the bug When running the command alone with no inputs, the popup box that normally can select scripts in a folder does not show any scripts in the expected folder.
To Reproduce Run ic_qa() alone and use pop up to select .R script
Expected behavior I used to be able to see scripts in a folder and choose the one I want to generate a QA form for.
Screenshots![image](https://user-images.githubusercontent.com/64365213/221923994-944c02f8-cb87-4b14-9c07-37398a2a0850.png)
Desktop (please complete the following information):