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

.rscignore file doesn't ignore files in subfolders #1118

Open
tomcardoso opened this issue Nov 27, 2024 · 0 comments
Open

.rscignore file doesn't ignore files in subfolders #1118

tomcardoso opened this issue Nov 27, 2024 · 0 comments

Comments

@tomcardoso
Copy link

Hello! I have a project with a folder, data/, in the root, and then two sets of data in subfolders, for a structure like this:

my-shiny-app/
├─ data/
│  ├─ filtered/
│  │  ├─ dataset_1.rds
│  │  ├─ dataset_2.rds
│  ├─ unfiltered/
│  │  ├─ dataset_1.rds
│  │  ├─ dataset_2.rds

If I try to exclude either the unfiltered folder or its specific files, neither works when running rsconnect::listDeploymentFiles().

Here's the .rscignore I'm using:

data/unfiltered/dataset_1.rds
data/unfiltered/dataset_2.rds

I did some testing and it looks like anything with a subfolder path doesn't work. I could remove a level (making the filtered and unfiltered folders both root-level), but would be nice for organization's sake to have the .rscignore recognize paths like this.

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