-
Notifications
You must be signed in to change notification settings - Fork 0
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
Cran compliance #14
Merged
Merged
Cran compliance #14
Changes from 8 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
55ad108
appply cran submission comments
radbasa 5b930ae
skip tests on cran
radbasa a671c2e
ask the use to confirm their action
radbasa b388e5b
fix some typos
radbasa f30ec68
inverse logic
radbasa adebc9f
separate TUI prompts for existing Rprofile and non-existing Rprofile
radbasa ea96f69
small mistakes fixed
radbasa 1acd255
chore: Add cran-comments.
jakubnowicki 2b424d8
added missing () in line 18. added withr::local* to line 27.
radbasa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
^\.github$ | ||
^\.lintr$ | ||
.log | ||
^cran-comments\.md$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# box.lsp 0.1.0 Resubmission | ||
|
||
> If there are references describing the methods in your package, please add these in the description field of your DESCRIPTION file | ||
|
||
There are no references to include regarding this package. | ||
|
||
> \dontrun{} should only be used if the example really cannot be executed | ||
(e.g. because of missing additional software, missing API keys, ...) by | ||
the user. That's why wrapping examples in \dontrun{} adds the comment | ||
("# Not run:") as a warning for the user. Does not seem necessary. | ||
Please replace \dontrun with \donttest. | ||
Functions which are supposed to only run interactively (e.g. shiny) | ||
should be wrapped in if(interactive()). Please replace /dontrun{} with | ||
if(interactive()){} if possible, then users can see that the functions | ||
are not intended for use in scripts / functions that are supposed to run | ||
non interactively. | ||
|
||
`\dontrun` replaced with `if(interactive)` in `box.lsp::use_box_lsp` and `\donttest` in `box.lsp::box_use_parser`. | ||
|
||
> Please ensure that your functions do not write by default or in your | ||
examples/vignettes/tests in the user's home filespace (including the | ||
package directory and getwd()). This is not allowed by CRAN policies. | ||
Please omit any default path in writing functions. In your | ||
examples/vignettes/tests you can write to tempdir(). | ||
-> R/utils.R and your tests | ||
|
||
All examples that could write in the user's filespace are blocked by using `if(interactive())`. Tests are using `withr::temp*` functions to prevent that. `box.lsp::use_box_lsp` still has the default path set, but to prevent from writing anything by accident it now requires a confirmation from the user (with default set to No). | ||
|
||
## R CMD check results | ||
|
||
0 errors | 0 warnings | 1 note | ||
|
||
* This is a new release. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would
1 note
be an issue?