[Bioc-devel] SpatialExperiment checks fail on Windows platform
dr|ghe||| @end|ng |rom gm@||@com
Thu Dec 15 09:53:29 CET 2022
thanks for your reply and suggestion, we'll definitively try what you
Il 13/12/22 20:57, Hervé Pagès ha scritto:
> Hi Dario,
> Note that we observe the same problem on our daily Windows builder, so
> this has not much to do with your GitHub actions setup:
> It looks to me that some recent changes to the package broke the dim()
> method for StoredSpatialImage objects. Here is how the method is
> defined in BioC devel:
> > selectMethod("dim", "StoredSpatialImage")
> Object with tracing code, class "MethodDefinitionWithTrace"
> Original definition:
> Method Definition:
> function (x)
> src <- imgSource(x)
> src <- normalizePath(src)
> src <- paste0("file://", src)
> img <- .get_from_cache(src, NULL)
> if (!is.null(img))
> img <- image_read(src)
> tib <- image_info(img)
> c(tib$height, tib$width)
> <bytecode: 0x55a3f2dee5b8>
> <environment: namespace:SpatialExperiment>
> target "StoredSpatialImage"
> defined "StoredSpatialImage"
> ## (to see the tracing code, look at body(object))
> I'm not sure I understand the logic for prefixing the already
> normalized local path with "file://", but this breaks
> magick::image_read() on Windows. Without the "file://" prefix, the
> dim() method seems to work fine on all platforms.
> Hope this helps,
> On 12/12/2022 02:11, Dario Righelli wrote:
>> Hi everyone,
>> we are having an issue when running GithubActions on Windows platform
>> that we are not able to figure out.
>> The error is about loading an image as a grob during the vignette
>> It seems that it loads the image path twice, but this sounds weird
>> because the same vignette code is working on the other two platforms
>> (linux and osx).
>> Does anyone have any ideas about this?
>> Here it is the reported check error:
>> Quitting from lines 110-111 (SpatialExperiment.Rmd) Error: processing
>> vignette 'SpatialExperiment.Rmd' failed with diagnostics: Rscript.exe:
>> Invalid argument @ error/blob.c/OpenBlob/2924 --- failed re-building
>> Thanks, Dario
>> [[alternative HTML version deleted]]
>> Bioc-devel using r-project.org mailing list
[[alternative HTML version deleted]]
More information about the Bioc-devel