Skip to content

Commit 75e145f

Browse files
committed
add vscode setup
1 parent ce5ad09 commit 75e145f

File tree

3 files changed

+62
-22
lines changed

3 files changed

+62
-22
lines changed

.Rbuildignore

+2-22
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,25 @@
11
^\cache$
2-
^codemeta\.json$
3-
^Meta$
4-
^doc$
52
^.*\.Rproj$
63
^\.Rproj\.user$
74
^README\.Rmd$
8-
^Rplots.pdf$
95
^README-.*\.png$
10-
^CONDUCT\.md$
11-
^SECURITY\.md$
126
^cran-comments\.md$
13-
^CODE_OF_CONDUCT\.md$
14-
^SUPPORT\.md$
157
^\.github$
168
^NEWS$
179
^docs$
1810
^revdep$
19-
publication/*
2011
^codecov\.yml$
21-
^\.coveralls\.yml$
22-
^\.travis\.yml$
2312
^_pkgdown\.yml$
24-
^appveyor\.yml$
25-
^.gitlab-ci\.yml$
2613
^data-raw$
27-
^pkgdown$
2814
^\.httr-oauth$
2915
^CRAN-RELEASE$
3016
tests\^spelling
3117
^LICENSE\.md$
3218
^\.lintr$
3319
^\.circleci$
3420
^tests/manual$
35-
^revdep$
36-
^\.covrignore$
37-
^\.github/ISSUE_TEMPLATE$
3821
^paper.*$
39-
references.bib
40-
^API$
4122
^\.pre-commit-config\.yaml$
42-
^\.github/workflows/R\.yaml$
43-
^\.github/workflows/pr-commands\.yaml$
44-
hextools
4523
^WIP/.
24+
\.code-workspace$
25+
^CRAN-SUBMISSION$

.lintr

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
linters: with_defaults(object_name_linter = NULL,
2+
object_length_linter(40),
3+
commented_code_linter = NULL,
4+
object_usage_linter = NULL,
5+
line_length_linter(120),
6+
cyclocomp_linter = cyclocomp_linter(20))

report.code-workspace

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"launch": {
8+
"version": "0.2.0",
9+
"configurations": [
10+
{
11+
"type": "R-Debugger",
12+
"name": "Launch R-Workspace",
13+
"request": "launch",
14+
"debugMode": "workspace",
15+
"workingDirectory": "${workspaceFolder}"
16+
},
17+
{
18+
"type": "R-Debugger",
19+
"name": "Debug R-File",
20+
"request": "launch",
21+
"debugMode": "file",
22+
"workingDirectory": "${workspaceFolder}",
23+
"file": "${file}"
24+
},
25+
{
26+
"type": "R-Debugger",
27+
"name": "Debug R-Function",
28+
"request": "launch",
29+
"debugMode": "function",
30+
"workingDirectory": "${workspaceFolder}",
31+
"file": "${file}",
32+
"mainFunction": "main",
33+
"allowGlobalDebugging": false
34+
},
35+
{
36+
"type": "R-Debugger",
37+
"name": "Debug R-Package",
38+
"request": "launch",
39+
"debugMode": "workspace",
40+
"workingDirectory": "${workspaceFolder}",
41+
"includePackageScopes": true,
42+
"loadPackages": [
43+
"."
44+
]
45+
},
46+
{
47+
"type": "R-Debugger",
48+
"request": "attach",
49+
"name": "Attach to R process",
50+
"splitOverwrittenOutput": true
51+
}
52+
]
53+
}
54+
}

0 commit comments

Comments
 (0)