rhub | hub builder is a multi-platform build | REST library
kandi X-RAY | rhub Summary
kandi X-RAY | rhub Summary
The R-hub builder is a multi-platform build and check service for R packages. The rhub packages uses the R-hub API to connect to the R-hub builder and start package checks on various architectures: Run R CMD check on any of the R-hub builder architectures, from R. The rhub package also supports accessing statuses of previous checks, and local use of the R-hub Linux platforms via Docker.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rhub
rhub Key Features
rhub Examples and Code Snippets
Community Discussions
Trending Discussions on rhub
QUESTION
I'm running into issues publishing my R package to CRAN, because of a specific error when including boost libraries. The top of my one .cpp file in the package is
...ANSWER
Answered 2021-Jul-29 at 03:03Relative to the repo you kindly supplied, we found a need for two changes:
First, to no (unconditionally) have an #include
as OpenMP can be optional, esp. on macOS. A simpled #ifdef OPENMP
does the job.
Second, the (arguably near-incomprehensible) compiler message had to do with the fact that the Boost type / class for tokenizer
was puzzled by the Rcpp object you gave it by directly indexing from an Rcpp::CharacterVector
. Been there, done that -- a more conservative approach is to first assign to std::string
and to then pass that on.
With those two changes, it's all roses and it compiles on macOS under clang++
as well.
The (by now merged, thanks) PR #2 has the gory details, but is short.
QUESTION
When I do devtool::check(cran=TRUE)
and rhub::check()
, it shows
ANSWER
Answered 2020-Aug-03 at 18:32You could move rlang
and shinydashboard
to the Suggests
section of your description file.
QUESTION
I'm getting a recurring NOTE on Debian CRAN checks (Debian only: 11 OK, 1 NOTE), it cannot be reproduced locally using docker interactively or via {rhub}.
...ANSWER
Answered 2020-Jun-18 at 17:44This doesn't matter, so far as I can tell. That sort of 'detritus' won't show up when the package is rebuilt at CRAN. On OS X one often sees a similar note due to leftover files from the attempts to go text --> LaTeX --> PDF. Unless someone from the R dev team rejects your submission, ignore this.
QUESTION
I am repeatedly running into an error when checking my new R package with devtools::check_rhub()
. I get the same error with CRANs automatic tests. I can install these packages no bother locally.
My package uses plotly, for which data.table is a dependancy
The error message I get when Installing package dependencies is:
Packages which are only available in source form, and may need compilation of C/C++/Fortran: 'utf8' 'data.table' These will not be installed
Then later on when:
** byte-compile and prepare package for lazy loading there is no package called 'data.table' Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : Calls: ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
This uses Windows Server 2008 R2 SP1, R-devel, 32/64 bit
So the package will not load. How do I make it compile on the RHub and CRAN?
...ANSWER
Answered 2020-May-13 at 22:53I had similar issues recently. This resolved it, using the rhub package :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rhub
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page