Comments (3)
What happens with plain old R CMD check
in the terminal?
I guess you've already done some additional configuration though:
I am on Archlinux and when I got this error I had aspell installed. I had however to install the word list for the language "en_US", i.e. aspell-en, to have devtools::check() run without that error.
But I doubt this is (was) a devtools issue.
from devtools.
Hi Jenny!
For this test I have uninstalled aspell-en again.
R CMD check
So, running R CMD build . && R CMD check $(ls -t . | head -n1)
:
$ R CMD build . && R CMD check $(ls -t . | head -n1)
* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘hgnc’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
* building ‘hgnc_0.1.3.tar.gz’
* using log directory ‘/home/rmagno/sci/code/R/pkg/hgnc/hgnc.Rcheck’
* using R version 4.2.3 (2023-03-15)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘hgnc/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘hgnc’ version ‘0.1.3’
* 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 ‘hgnc’ can be installed ... OK
* checking installed package size ... OK
* checking package 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 R 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 examples ... OK
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
Running ‘spelling.R’
OK
* checking PDF version of manual ... OK
* DONE
Status: OK
devtools::check()
Running devtools::check(remote = TRUE, manual = TRUE)
right after:
> devtools::check(remote = TRUE, manual = TRUE)
══ Documenting ═════════════════════════════════════════════════════════════════════════════════════════════════════════
ℹ Updating hgnc documentation
ℹ Loading hgnc
══ Building ════════════════════════════════════════════════════════════════════════════════════════════════════════════
Setting env vars:
• CFLAGS : -Wall -pedantic -fdiagnostics-color=always
• CXXFLAGS : -Wall -pedantic -fdiagnostics-color=always
• CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX14FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX17FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX20FLAGS: -Wall -pedantic -fdiagnostics-color=always
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────
✔ checking for file ‘/home/rmagno/sci/code/R/pkg/hgnc/DESCRIPTION’ ...
─ preparing ‘hgnc’:
✔ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
Omitted ‘LazyData’ from DESCRIPTION
─ building ‘hgnc_0.1.3.tar.gz’
══ Checking ════════════════════════════════════════════════════════════════════════════════════════════════════════════
Setting env vars:
• _R_CHECK_CRAN_INCOMING_USE_ASPELL_ : TRUE
• _R_CHECK_CRAN_INCOMING_REMOTE_ : TRUE
• _R_CHECK_CRAN_INCOMING_ : TRUE
• _R_CHECK_FORCE_SUGGESTS_ : FALSE
• _R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_: FALSE
• NOT_CRAN : true
── R CMD check ─────────────────────────────────────────────────────────────────────────────────────────────────────────
─ using log directory ‘/tmp/RtmpbTss3r/file2d554245eaa3b3/hgnc.Rcheck’
─ using R version 4.2.3 (2023-03-15)
─ using platform: x86_64-pc-linux-gnu (64-bit)
─ using session charset: UTF-8
─ using option ‘--as-cran’
✔ checking for file ‘hgnc/DESCRIPTION’
─ checking extension type ... Package
─ this is package ‘hgnc’ version ‘0.1.3’
─ package encoding: UTF-8
─ checking CRAN incoming feasibility ...Error in aspell(files, filter = list("dcf", ignore = ignore), control = control, :
Running aspell failed with diagnostics:
Error: The file "/usr/lib/aspell-0.60/en_US" can not be opened for reading.
Execution halted
── R CMD check results ───────────────────────────────────────────────────────────────────────────────── hgnc 0.1.3 ────
Duration: 266ms
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
from devtools.
I still don't think these are comparable, in that the problem crops up in "checking CRAN incoming feasibility" which doesn't appear in the R CMD check
result, presumably due to different options and env vars.
In any case, I am going to let this go, as I don't think there's evidence of a problem in devtools.
from devtools.
Related Issues (20)
- `release` causes me a problem if 'foghorn' package is installed HOT 1
- Using system.file in a tryCatch environment HOT 2
- Export is not working when using typed library HOT 3
- Solution to the "checking examples ... ERROR" HOT 1
- [feature request] a new `exclude` argument into `run_examples()` HOT 2
- Clearly list system dependencies in documentation HOT 1
- `load_all()` documentation refers to `is_loading()`
- devtools::check(error_on="warning") doesn't error on warnings from documenting HOT 4
- `run_examples()` fails if `tests/testthat/helper.R` contains an un-exported function
- Update README reg R Packages second edition
- .
- Can't install the package HOT 2
- can not install devtools in R4.4.1 HOT 4
- do not ask about `check_rhub()` in `release()` because it is deprecated and defunct HOT 2
- Deprecate `install_*`
- Import pak
- Use `httr` conditionally
- Harmonise devtools with testthat and cmdcheck HOT 2
- Change `quiet` default for `build_site()` HOT 2
- Option to build/check package from the git tree HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from devtools.