-
Help
DescriptionI'm trying to run a targets pipeline on both a Windows PC and a Linux HPC system. I am getting different names (and hence also seeds) for dynamic branches. For example, running the following code:
On the Windows PC (and also on a mac, and posit.cloud) this gives:
But on the Linux HPC I get:
Running something like Using targets_1.4.1 and R 4.2.2 in both cases. Any suggestions for what could be causing the discrepancy (which means the pipeline is not portable between the two) or how to fix would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
After some investigations, I think that naming dynamic targets at some point(s) uses Update: After further investigation, I found that harmonising locale across systems (and so I assume fixing the encoding and serialization issue above) fixed the example I gave. Additionally, in my real data analysis I had to make sure the same version of the stringfish package (used by qs) was used (version 0.16.0 of stringfish added ALTREP serialization). |
Beta Was this translation helpful? Give feedback.
After some investigations, I think that naming dynamic targets at some point(s) uses
digest_obj32()
. So, the difference could be down to the serialization as per this discussion: #956 (comment)Update: After further investigation, I found that harmonising locale across systems (and so I assume fixing the encoding and serialization issue above) fixed the example I gave. Additionally, in my real data analysis I had to make sure the same version of the stringfish package (used by qs) was used (version 0.16.0 of stringfish added ALTREP serialization).