Skip to content

Commit 752e14a

Browse files
added echo in build.sh and increased chromote timeout
1 parent b40c95d commit 752e14a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ R CMD INSTALL $PKG_TGZ
3434
echo "Running R CMD check --as-cran $PKG_TGZ"
3535
check_output=$(R CMD check --as-cran $PKG_TGZ 2>&1)
3636
check_status=$?
37+
echo "$check_output"
3738
# Check for WARNINGs or NOTEs in the output
3839
if echo "$check_output" | grep -q -E "WARNING|NOTE"; then
3940
echo "CRAN check generated WARNINGs or NOTEs:"
40-
echo "$check_output"
4141
exit 1
4242
fi
4343
# Exit with original status if no WARNINGs/NOTEs but check failed
4444
if [ $check_status -ne 0 ]; then
4545
echo "R CMD check failed with status $check_status"
46-
echo "$check_output"
4746
exit $check_status
48-
fi
47+
fi
48+
echo "CRAN check completed successfully"

tests/testthat/helper-HTML.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ tests_init <- function(dir = ".", ...) {
4141
testDir <- file.path(testPath, "animint-htmltest")
4242
# if the htmltest directory exists, wipe clean, then create an empty folder
4343
unlink(testDir, recursive = TRUE)
44-
options(chromote.timeout = 120)
44+
options(chromote.timeout = 3000)
4545
chrome.session <- chromote::ChromoteSession$new()
4646
# Enable required DevTools domains for coverage
4747
chrome.session$Runtime$enable()

0 commit comments

Comments
 (0)