-
Notifications
You must be signed in to change notification settings - Fork 22
Better package support #328
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
Draft
schloerke
wants to merge
32
commits into
main
Choose a base branch
from
pkg_support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or 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
…arning if called while testing
* main: Update cran-comments.md Update cran-comments.md Run revdep Move crashpad file to setup test file Update cran-comments.md Remove detritus Crashpad file/directory on CRAN Don't use github `{lintr}` or `{decor}` package Run revdep on 12 pkgs; ✅ Remove C++11 from DESCRIPTION (#326) News entries for #284 and #288 Load global vars when saving app objects (#307) Better error message when both app.R and server.R are found (#284) Don't assume preview overflow is of length 1 (#291) Force JS code to be a character for `{glue}` support (#288) fix typo: expect_unqiue_names -> expect_unique... (#270) Fix typo: use_shinytest -> use_shinytest2 (#269) `compare_screenshot_threshold()` should not error from `screenshot_max_difference()` (#276) Increment version number to 0.2.1 Change default screenshot selector to `"scrollable_area"` (from bounding box of `"html"` DOM) (#325) actions/test-app; Add multi app `app-dir` support; Default upload-snapshot to `true` (#322)
* main: Replace crayon by cli (#399)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rearrange test file locations to leverage the standard (not nested) testing file structure.
If we are in a package, then a package test file can point to an app in a different location. The snaps will be captured where ever "here" is (which is in the package).
Now:
APP_DIR/tests/testthat/setup-shinytest2.R
. Can useload_app_support(app_dir=)
when necessary.Remaining:
load_app_env()
is deprecated. Implement/Uselocal_app_support()
/with_app_support()
instead.testthat::test_dir(load_package=)
andtestthat:::test_files_setup_env()
use-package.Rmd
vignette