-
i am reading a batch of files by grouped tibble (in my case various sas domains from different trials). I decided to use tar_map to do this since i can control the label of the target this way to use later in the pipeline. (i couldnt quite understand if tar_group_by would be a better option) When i run it i am getting an error that i dont really know where the issue is targets::tar_dir({
targets::tar_script({
tf <- tempfile(fileext = '.Rds')
saveRDS(object = mtcars, file = tf)
my_tbl <- tibble::tibble(
domain_label = 'my_file',
files = tf
)
list(
tarchetypes::tar_map(
my_tbl,
names = domain_label,
tar_target(myfiles = files,format = 'file')
)
)
})
targets::tar_manifest()
}) Error in assign(".Traceback", traceback(9), envir = baseenv()) :
cannot add binding of '.Traceback' to the base environment
NULL si- Session info --------------------------------------------------------------------------------
setting value
version R version 4.1.0 (2021-05-18)
os Windows 10 x64
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.1252
ctype English_United States.1252
tz America/New_York
date 2021-06-14
- Packages ------------------------------------------------------------------------------------
! package * version date lib source
P ash 1.0-15 2015-09-01 [?] CRAN (R 4.1.0)
P assertthat 0.2.1 2019-03-21 [?] CRAN (R 4.1.0)
P backports 1.1.10 2020-09-15 [?] CRAN (R 4.1.0)
P base64enc 0.1-3 2015-07-28 [?] CRAN (R 4.1.0)
P broom 0.7.6 2021-04-05 [?] CRAN (R 4.1.0)
P callr 3.5.1 2020-10-13 [?] CRAN (R 4.1.0)
P cli 2.5.0 2021-04-26 [?] CRAN (R 4.1.0)
P clipr 0.7.0 2019-07-23 [?] CRAN (R 4.1.0)
P coda 0.19-3 2019-07-05 [?] CRAN (R 4.1.0)
P codetools 0.2-18 2020-11-04 [?] standard (@0.2-18)
P colorspace 1.4-1 2019-03-18 [?] CRAN (R 4.1.0)
P crayon 1.4.1 2021-02-08 [?] CRAN (R 4.1.0)
P data.table 1.13.0 2020-07-24 [?] CRAN (R 4.1.0)
P desc 1.2.0 2018-05-01 [?] CRAN (R 4.1.0)
P details 0.2.1 2020-01-12 [?] CRAN (R 4.1.0)
P digest 0.6.27 2020-10-24 [?] CRAN (R 4.1.0)
P distributional 0.2.1 2020-10-06 [?] CRAN (R 4.1.0)
P dplyr 1.0.6 2021-05-05 [?] CRAN (R 4.1.0)
P ellipsis 0.3.2 2021-04-29 [?] CRAN (R 4.1.0)
P emmeans 1.5.2-1 2020-10-25 [?] CRAN (R 4.1.0)
P estimability 1.3 2018-02-11 [?] CRAN (R 4.1.0)
P evaluate 0.14 2019-05-28 [?] CRAN (R 4.1.0)
P extrafont 0.17 2014-12-08 [?] CRAN (R 4.1.0)
P extrafontdb 1.0 2012-06-11 [?] CRAN (R 4.1.0)
P fansi 0.4.1 2020-01-08 [?] CRAN (R 4.1.0)
P farver 2.0.3 2020-01-16 [?] CRAN (R 4.1.0)
flextable 0.6.6 2021-05-17 [1] standard (@0.6.6)
P forcats 0.5.0 2020-03-01 [?] CRAN (R 4.1.0)
P fs 1.5.0 2020-07-31 [?] CRAN (R 4.1.0)
gdtools 0.2.3 2021-01-06 [1] standard (@0.2.3)
P generics 0.1.0 2020-10-31 [?] CRAN (R 4.1.0)
P ggalt 0.6.2 2021-06-03 [?] Github (hrbrmstr/ggalt@e46e54b)
P ggdist 2.3.0 2020-10-31 [?] CRAN (R 4.1.0)
P ggplot2 * 3.3.3 2020-12-30 [?] CRAN (R 4.1.0)
P glue * 1.4.2 2020-08-27 [?] CRAN (R 4.1.0)
P gridExtra 2.3 2017-09-09 [?] CRAN (R 4.1.0)
P gtable 0.3.0 2019-03-25 [?] CRAN (R 4.1.0)
P haven 2.3.1 2020-06-01 [?] CRAN (R 4.1.0)
P here 0.1 2017-05-28 [?] CRAN (R 4.1.0)
P hms 0.5.3 2020-01-08 [?] CRAN (R 4.1.0)
htmltools 0.5.1.1 2021-01-22 [1] standard (@0.5.1.1)
P htmlwidgets 1.5.2 2020-10-03 [?] CRAN (R 4.1.0)
P httr 1.4.2 2020-07-20 [?] CRAN (R 4.1.0)
P igraph 1.2.6 2020-10-06 [?] CRAN (R 4.1.0)
P insight 0.14.1 2021-05-28 [?] CRAN (R 4.1.0)
P jsonlite 1.7.2 2020-12-09 [?] CRAN (R 4.1.0)
P KernSmooth 2.23-18 2020-10-29 [?] CRAN (R 4.1.0)
P knitr 1.30 2020-09-22 [?] CRAN (R 4.1.0)
P lattice 0.20-41 2020-04-02 [?] CRAN (R 4.1.0)
P lifecycle 1.0.0 2021-02-15 [?] CRAN (R 4.1.0)
P lsmeans 2.30-0 2018-11-02 [?] CRAN (R 4.1.0)
P magrittr * 2.0.1 2020-11-17 [?] standard (@2.0.1)
P maps 3.3.0 2018-04-03 [?] CRAN (R 4.1.0)
P MASS 7.3-53 2020-09-09 [?] CRAN (R 4.1.0)
P munsell 0.5.0 2018-06-12 [?] CRAN (R 4.1.0)
P mvtnorm 1.1-1 2020-06-09 [?] CRAN (R 4.1.0)
P nlme 3.1-149 2020-08-23 [?] CRAN (R 4.1.0)
P officer 0.3.19.004 2021-06-07 [?] Github (davidgohel/officer@5943a7d)
pak 0.1.2.9001 2021-06-07 [1] local
P performance 0.7.2 2021-05-17 [?] CRAN (R 4.1.0)
P pillar 1.6.1 2021-05-16 [?] CRAN (R 4.1.0)
P pkgconfig 2.0.3 2019-09-22 [?] CRAN (R 4.1.0)
P png 0.1-7 2013-12-03 [?] CRAN (R 4.1.0)
P processx 3.4.5 2020-11-30 [?] CRAN (R 4.1.0)
P proj4 1.0-10 2020-03-02 [?] CRAN (R 4.1.0)
P ps 1.3.4 2020-08-11 [?] CRAN (R 4.1.0)
P purrr 0.3.4 2020-04-17 [?] CRAN (R 4.1.0)
P qs 0.24.1 2021-03-07 [?] CRAN (R 4.1.0)
P R6 2.5.0 2020-10-28 [?] CRAN (R 4.1.0)
P RApiSerialize 0.1.0 2014-04-19 [?] CRAN (R 4.1.0)
P RColorBrewer 1.1-2 2014-12-07 [?] CRAN (R 4.1.0)
P Rcpp 1.0.5 2020-07-06 [?] CRAN (R 4.1.0)
PD RcppParallel 5.1.4 2021-05-04 [?] CRAN (R 4.1.0)
renv 0.13.2 2021-03-30 [1] CRAN (R 4.1.0)
P rlang 0.4.11 2021-04-30 [?] CRAN (R 4.1.0)
P rmarkdown 2.5 2020-10-21 [?] CRAN (R 4.1.0)
P rprojroot 1.3-2 2018-01-03 [?] CRAN (R 4.1.0)
P rstudioapi 0.13 2020-11-12 [?] CRAN (R 4.1.0)
P Rttf2pt1 1.3.8 2020-01-10 [?] CRAN (R 4.1.0)
P sasdrive 0.0.1 2021-06-03 [?] Github (sagerx/sasdrive@a788cda)
P scales 1.1.1 2020-05-11 [?] CRAN (R 4.1.0)
P sessioninfo 1.1.1 2018-11-05 [?] CRAN (R 4.1.0)
P stringfish 0.15.1 2021-03-16 [?] CRAN (R 4.1.0)
systemfonts 1.0.2 2021-05-11 [1] standard (@1.0.2)
P tarchetypes * 0.1.0.9000 2021-06-03 [?] Github (ropensci/tarchetypes@cbce5fb)
P targets * 0.2.0.9000 2021-06-03 [?] Github (wlandau/targets@7395ff3)
P tibble 3.1.2 2021-05-16 [?] CRAN (R 4.1.0)
P tidyr 1.1.3 2021-03-03 [?] CRAN (R 4.1.0)
P tidyselect 1.1.0 2020-05-11 [?] CRAN (R 4.1.0)
P utf8 1.2.1 2021-03-12 [?] CRAN (R 4.1.0)
P uuid 0.1-4 2020-02-26 [?] CRAN (R 4.1.0)
P vctrs 0.3.8 2021-04-29 [?] CRAN (R 4.1.0)
P viridis 0.5.1 2018-03-29 [?] CRAN (R 4.1.0)
P viridisLite 0.3.0 2018-02-01 [?] CRAN (R 4.1.0)
visNetwork 2.0.9 2019-12-06 [1] standard (@2.0.9)
P withr 2.3.0 2020-09-22 [?] CRAN (R 4.1.0)
P xfun 0.18 2020-09-29 [?] CRAN (R 4.1.0)
P xml2 1.3.2 2020-04-23 [?] CRAN (R 4.1.0)
P xtable 1.8-4 2019-04-21 [?] CRAN (R 4.1.0)
P yaml 2.2.1 2020-02-01 [?] CRAN (R 4.1.0)
P zip 2.1.0 2020-08-10 [?] CRAN (R 4.1.0)
[1] C:/trials/217-cross-study/renv/library/R-4.1/x86_64-w64-mingw32
[2] C:/Users/jonathan.sidi/AppData/Local/Temp/RtmpaaEgAb/renv-system-library
P -- Loaded and on-disk path mismatch.
D -- DLL MD5 mismatch, broken installation.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I'm pretty sure this is an instance of r-lib/callr#196, especially since I see you are using |
Beta Was this translation helpful? Give feedback.
I'm pretty sure this is an instance of r-lib/callr#196, especially since I see you are using
callr
3.5.1. Please upgrade tocallr
3.7.0 (current CRAN) and see if the error goes away.