-
Notifications
You must be signed in to change notification settings - Fork 133
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
[BUG] Some failures in vignettes when running tests #1167
Comments
Hey, I'm not aware of the The tests pass on CRAN (a new version got uploaded yesterday), as they do locally & on Github Action. Do you also have errors when running the check in a standard way? |
Hey, Reading from the logs, you get :
Meaning that you don't have a CRAN repo available to install the package. Can you try adding the repo to your RProfile? |
@ColinFay Sorry, why does it need CRAN when the package tarball is already downloaded? We do not really want anything to be fetched during the build or running tests. Also, tests should pass reproducibly for everyone, so even if a local tweak sorts this out for me personally, it does not really fix the issue. |
Hi |
This should be a local tweak because the error doesn't seem to be reproducible here.
I've also tried the following (on Mac, with latest version of R) and do not reproduce: colinfay@Colins-MacBook-Pro /tmp % curl -O https://cran.r-project.org/src/contrib/golem_0.5.1.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1635k 100 1635k 0 0 5192k 0 --:--:-- --:--:-- --:--:-- 5193k
colinfay@Colins-MacBook-Pro /tmp % R CMD Check golem_0.5.1.tar.gz
* using log directory ‘/private/tmp/golem.Rcheck’
* using R version 4.4.1 (2024-06-14)
* using platform: aarch64-apple-darwin20
* R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
* running under: macOS Sonoma 14.5
* using session charset: UTF-8
* checking for file ‘golem/DESCRIPTION’ ... OK
* this is package ‘golem’ version ‘0.5.1’
* package encoding: UTF-8
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘golem’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking code files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
Running ‘spelling.R’
Running ‘testthat.R’
OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE
Status: OK If you have a look at the Vignette that fails to build at https://github.com/ThinkR-open/golem/blob/master/vignettes/a_start.Rmd#L30, the Rmd is set to FWIW, your error seems to reproduce on oldrel of R on CRAN : https://www.r-project.org/nosvn/R.check/r-oldrel-macos-arm64/golem-00check.html, but that's for old releases of R only. What's your current version of R ? |
Describe the bug
Some vignettes code fails to run.
To Reproduce
Run
sudo port -v test R-golem
on macOS.Expected behavior
Ideally, checks should pass cleanly.
The text was updated successfully, but these errors were encountered: