1.25 feature (options reset) causes problems with packages that set options on load. #621
-
Hi! A change in 1.25.0 (R options reset after future completion) causes problems with packages like ff/ffbase which set options on package load in order to locate temporary files. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi. Yes, we learned the hard way after the future 1.25.0 release that (a) some packages relying on R options to record a global state and (b) those package are not robust against such options being removed. First report was on data.table breaking, cf. #609. Yours on ff is the second report; thanks for reporting. This is fixed in the next release. Until that is on CRAN (a week or so), use the develop version; https://future.futureverse.org/#pre-release-version. |
Beta Was this translation helpful? Give feedback.
-
Amazing thank you for the quick response!
…________________________________
From: Henrik Bengtsson ***@***.***>
Sent: Monday, May 9, 2022 11:24 AM
To: HenrikBengtsson/future ***@***.***>
Cc: Sky Olson ***@***.***>; Author ***@***.***>
Subject: Re: [HenrikBengtsson/future] 1.25 feature (options reset) causes problems with packages that set options on load. (Discussion #621)
Hi. Yes, we learned the hard way after the future 1.25.0 release that (a) some packages relying on R options to record a global state and (b) those package are not robust against such options being removed. First report was on data.table breaking, cf. #609<#609>. Yours is the second report; thanks for reporting.
This is fixed in the next release. Until that is on CRAN (a week or so), use the develop version; https://future.futureverse.org/#pre-release-version.
—
Reply to this email directly, view it on GitHub<#621 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANAFCX2ROVMGMYEVRPK6OR3VJEUZ3ANCNFSM5VOTWJXQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thank you again!
…________________________________
From: Henrik Bengtsson ***@***.***>
Sent: Saturday, May 28, 2022 10:32:08 AM
To: HenrikBengtsson/future ***@***.***>
Cc: Sky Olson ***@***.***>; Author ***@***.***>
Subject: Re: [HenrikBengtsson/future] 1.25 feature (options reset) causes problems with packages that set options on load. (Discussion #621)
FYI, future 1.26.1, which solves this problem, is now on CRAN.
—
Reply to this email directly, view it on GitHub<#621 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANAFCX7DHIIXF4OZNEGTOJ3VMIU6RANCNFSM5VOTWJXQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi. Yes, we learned the hard way after the future 1.25.0 release that (a) some packages relying on R options to record a global state and (b) those package are not robust against such options being removed. First report was on data.table breaking, cf. #609. Yours on ff is the second report; thanks for reporting.
This is fixed in the next release. Until that is on CRAN (a week or so), use the develop version; https://future.futureverse.org/#pre-release-version.