1
0
mirror of https://github.com/msberends/AMR.git synced 2026-06-29 17:36:20 +02:00

(v3.0.1.9074) You go girl

This commit is contained in:
2026-06-26 11:58:38 +02:00
parent 4ca7fdf3d4
commit 3c17679382
4 changed files with 5 additions and 9 deletions

View File

@@ -73,15 +73,12 @@ base._libPaths(r_lib_path)
if not isinstalled('AMR', lib_loc=r_lib_path):
print(f"AMR: Installing latest AMR R package to {r_lib_path}...", flush=True)
utils.install_packages(
'remotes',
StrVector(['remotes', 'desc']),
repos='https://cloud.r-project.org',
lib=r_lib_path,
dependencies=True,
quiet=True
)
rint(f"AMR: Installed 'remotes'", flush=True)
remotes = importr('remotes', lib_loc=r_lib_path)
rint(f"AMR: Loaded 'remotes'", flush=True)
remotes.install_github('msberends/AMR', lib=r_lib_path, quiet=True)
# Retrieve Python AMR version
@@ -99,10 +96,9 @@ if r_amr_version != python_amr_version:
try:
print(f"AMR: Updating AMR package in {r_lib_path}...", flush=True)
utils.install_packages(
'remotes',
StrVector(['remotes', 'desc']),
repos='https://cloud.r-project.org',
lib=r_lib_path,
dependencies=True,
quiet=True
)
remotes = importr('remotes', lib_loc=r_lib_path)