[R-pkg-devel] 'rlang' win-builder error for package without rlang dependency

Carrie Tribble ctr|bb|e09 @end|ng |rom gm@||@com
Sun Sep 12 19:31:33 CEST 2021


Hi Konrad,

This happened to me too on Thursday. I tried retesting on Friday and ran
into the same problem with a different function (vctrs instead of rlang).
But Friday night when I retested, the problem had resolved itself. Curious
to hear what could have happened, but I'd also suggest retesting now if if
you haven't tried again since.

Cheers,
Carrie

On Sun, Sep 12, 2021, 7:26 AM Konrad Rudolph <konrad.rudolph using gmail.com>
wrote:

> Hi,
>
> My recent CRAN package submission failed with a win-builder error during
> the tests and vignette building *of the previously submitted version* [1]:
>
> ```
>     Error in library.dynam(lib, package, package.lib) :
>       DLL 'rlang' not found: maybe not installed for this architecture?
> ```
>
> (The log also shows another testing error with the new version which I can
> make neither heads nor tails of, but that’s a separate issue.)
>
> My package does not directly depend on 'rlang' (though it is a transitive
> 'Suggests' (build time) dependency via 'testthat'). I’m at a loss how to
> fix this issue. The closest I could find was [2], where the error is caused
> by tests being run for a mismatching architecture. In my case, the error
> seems to be caused by 'testthat' not being able to load the rlang DLL for
> x64 (weirdly the tests run to completion for the [mismatching] i386
> architecture). Given that I don’t control (a) which architecture is tested
> on win-builder, nor (b) how 'testthat' loads its dependencies, how can I
> fix this?
>
> … or was this error included in the win-builder output of the new
> submission as a simple FYI and can be safely ignored?
>
> [1]
>
> https://win-builder.r-project.org/incoming_pretest/box_1.0.3_20210912_125241/Debian/00check.log
> [2] https://github.com/r-hub/rhub/issues/476
>
> --
> Konrad Rudolph // @klmr
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list