Commit Graph

21 Commits

Author SHA1 Message Date
Anthony Sottile
966c67a832 speed up R unit tests 2023-01-17 14:16:13 -05:00
Anthony Sottile
628c876b2d adjust the run_hook api to no longer take Hook 2023-01-16 16:34:01 -05:00
Anthony Sottile
ae34a962d7 make in_env part of the language api 2023-01-16 15:36:29 -05:00
Anthony Sottile
05c8911363 simplify environment_dir 2023-01-01 21:11:56 -05:00
Anthony Sottile
d05b7888ab move clean_path_on_failure out of each hook install 2023-01-01 20:04:58 -05:00
Anthony Sottile
8e57e8075d avoid using hook.src in R language
this wasn't meant to be read -- hook.prefix works fine for local too
2023-01-01 19:02:20 -05:00
Lorenz Walthert
52948f610c When R executable is an explicit path, we need to appene .exe on Windows 2022-12-12 13:21:55 -05:00
Lorenz Walthert
a568f3c818 enforce binary installs also for dependencies of R packages
Similar problem seems to be found in https://github.com/r-lib/devtools/issues/1724
2022-07-12 22:47:19 +01:00
Anthony Sottile
07554e9525 add additional info to healthy-after-install check 2022-04-16 16:46:28 -04:00
Jeff Sullivan
764a0db68e use Rscript path relative to $R_HOME/bin/...
Co-authored-by: Lorenz Walthert <lorenz.walthert@icloud.com>
2022-04-02 14:22:29 -04:00
Lorenz Walthert
65755af7e3 inline options() to always install binaries 2022-03-05 21:04:01 +01:00
Anthony Sottile
04de6a2e57 drop python 3.6 support
python 3.6 reached end of life on 2021-12-23
2022-01-18 18:44:20 -05:00
Lorenz Walthert
1617692f12 no docs 2021-12-24 14:52:46 +01:00
Lorenz Walthert
b7331b653a unset renv project 2021-12-24 14:36:43 +01:00
Lorenz Walthert
ba496b8369 better r path detection 2021-12-24 14:01:18 +01:00
Lorenz
788aec156f local r hooks should not get prefix for path 2021-05-05 18:15:56 -07:00
Anthony Sottile
c082292bb8 Merge pull request #1841 from lorenzwalthert/renv-activate2
Avoid warnings with R hooks when renv version don't match
2021-05-04 19:27:44 -07:00
Lorenz
b8fff8c508 Avoid warnings with R hooks when renv version don't match 2021-05-04 18:56:43 -07:00
Lorenz
a19a59652f Use more common package definition 2021-05-03 18:08:22 +02:00
Lorenz
cf57e35e37 install package from prefix_dir, not env_dir (which yields empty pkg) 2021-03-09 16:44:36 -08:00
Lorenz
f1502119a2 add support for R via renv 2021-03-07 13:58:14 -08:00