Re: [R-pkg-devel] API client package failing due to API authentication

2023-10-26 Thread Cole Johanson
Thank you. I did forget to re-document. I appreciate the help! On Thu, Oct 26, 2023 at 12:30 PM Ivan Krylov wrote: > В Thu, 26 Oct 2023 11:14:15 -0400 > Cole Johanson пишет: > > > I have wrapped the examples with the roxygen2 tag *\dontrun*, but it > > is still attempting to run the examples. >

Re: [R-pkg-devel] API client package failing due to API authentication

2023-10-26 Thread Dirk Eddelbuettel
On 26 October 2023 at 11:14, Cole Johanson wrote: | My package https://github.com/cole-johanson/smartsheetr requires an | environment variable, the API access token, to run most of the functions. | The steps for setting this are documented in the README, but my package is | being auto-rejected by

Re: [R-pkg-devel] API client package failing due to API authentication

2023-10-26 Thread Ivan Krylov
В Thu, 26 Oct 2023 11:14:15 -0400 Cole Johanson пишет: > I have wrapped the examples with the roxygen2 tag *\dontrun*, but it > is still attempting to run the examples. Judging by the latest commit at ,

[R-pkg-devel] API client package failing due to API authentication

2023-10-26 Thread Cole Johanson
Hello, My package https://github.com/cole-johanson/smartsheetr requires an environment variable, the API access token, to run most of the functions. The steps for setting this are documented in the README, but my package is being auto-rejected by CRAN for failing the examples. I have wrapped the

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-26 Thread Plamen Mirazchiyski
I apologize for misreading Ivan's first email. I now installed from the tar.gz source file, everything worked as expected. Thank you both for the thorough explanations. Best, Plamen On 10/26/23 16:20, Ivan Krylov wrote: В Thu, 26 Oct 2023 15:43:54 +0200 Plamen Mirazchiyski пишет: If I unde

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-26 Thread Ivan Krylov
В Thu, 26 Oct 2023 15:43:54 +0200 Plamen Mirazchiyski пишет: > If I understand Ivan's email, my package should work on R 4.3.1, but > what about newer versions? The source package (the .tar.gz file obtained using R CMD build) will keep working fine on both R 4.3 and R 4.4. The binary package (

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-26 Thread Duncan Murdoch
There are two kinds of builds: source builds (producing the .tar.gz file) and binary builds (producing the .zip file on Windows). Binary builds are specific to R minor versions: if you build on R version x.y.z, you can't expect the package to work if either x or y changes. Source builds sho

Re: [R-pkg-devel] "crossprod" is not a BUILTIN function

2023-10-26 Thread Plamen Mirazchiyski
Thank you very much for your responses Duncan and Ivan. I do not call .Internal(crossprod( ... )) directly. I use crossprod() just once in the entire package, the actual line of code is unname(obj = crossprod(x = sweep(x = as.matrix(replicated.averages), MARGIN = 2, mean.replicate.averages, F