Hi Wolfgang,

On 31 January 2025 at 15:02, Wolfgang Rolke via R-package-devel wrote:
| In the vignette of my package Rgof I create a function written in Rcpp, which 
is then passed and executed in some of the routines included in Rgof. The 
package passes all the checks on the various platform without errors, warnings 
or notes except on atlas and gcc13. There I get an error about not being able 
to find this function. For details see
| 
| https://github.com/r-hub2/productive-joking-manatee-Rgof/actions
| 
[https://opengraph.githubassets.com/b40e189207ca774a60d2c41f7b3410850dddf9a6816238d771e042279edbac03/r-hub2/productive-joking-manatee-Rgof]<https://github.com/r-hub2/productive-joking-manatee-Rgof/actions>
| Workflow runs � r-hub2/productive-joking-manatee-Rgof � 
GitHub<https://github.com/r-hub2/productive-joking-manatee-Rgof/actions>
| Created by R-hub. Contribute to r-hub2/productive-joking-manatee-Rgof 
development by creating an account on GitHub.
| github.com
| 
| Is this a known issue? Is there a workaround? I have not tested the package 
on all 20+ machines, which other ones have the same issue?
| 
| The package is already on CRAN, so this error does not lead to it to not 
being accepted. Still, I would like to know what the problem is and if there is 
a better way than just to ignore it.

I only glanced at it via the CRAN mirror repo [1] so some really quick thoughts:

- If the package is in such good standing at CRAN [2] but fails at r-hub, is
  the issue with CRAN or possibly with r-hub?  Can you reproduce locally?
  
- If the Rcpp chunk gives you trouble there after knitting, why not add the
  function to the package itself to call it like a regular package function?

- There is always the workaround of precomputing the call result and
  including it as static output if dynamically computed content gives you issues

- I think you have a mistatement about Rcpp on line 503, many of us have long
  used Rcpp function in multicore/multicpu settings

As always, if you think the question is specific enough to Rcpp you could ask
also on the Rcpp-devel mailing list that exists for such questions as several
experienced users and developers follow it.

Dirk

[1] https://github.com/cran/Rgof/blob/master/vignettes/Rgof.Rmd
[2] https://cloud.r-project.org/web/checks/check_results_Rgof.html

| 
| Thanks
| Wolfgang
| 
| 
|       [[alternative HTML version deleted]]
| 
| ______________________________________________
| R-package-devel@r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to