Closed DRJP closed 3 years ago
We've made a few more tests and think that the issue is related to the accented character in the file path. We've successfully run this example using an alternative path without accents.
Glad you figured it out. On Windows, it is sometimes necessary to select a different encoding option, e.g. options(encoding = "UTF-8")
. Thread: https://github.com/ropensci/targets/issues/249.
First of all, many thanks for the drake package - we have been using it for the last 6 months and it has been a really valuable tool for collaboration.
I have a new student for whom drake is failling to perform the most basic tasks. She is using Windows 10 on a French laptop, and she is using Rstudio.
For example, the following code
The above script works fine on my Ubuntu laptop, but generates various error messages on her windows laptop.
Error message 1 In a fresh R session it will generate
Erreur : key 'seed' ('session') not found
Error message 2 If we subsequently rerun make() with a seed we get a similar error
make(test_plan, seed=1)
Erreur : key '59f30ef5d215bd12' ('memoize') not found
Error message 3 If we restart Rstudio and run make with a seed (to avoid error 1) we first get a different error
make(test_plan, seed=1)
Error in if (!is_encoded_path(target)) { :
valeur manquante là où TRUE / FALSE est requis
Subsequently rerunning make (with a seed set) will result in error message 2.Here is her path
setwd("C:/Users/Mahé/Desktop/ASF_challenge/asf-speed/src")
Here is her sessionInfo
We're quite confused about how to proceed. Any suggestions would be warmly welcome.
Best regards David