1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-12 17:01:57 +02:00

(v2.1.1.9216) PyPI access token

This commit is contained in:
2025-03-17 08:56:27 +01:00
parent 1f35ff2b0b
commit 8d8444c607
7 changed files with 39 additions and 20 deletions

View File

@ -83,7 +83,10 @@ except metadata.PackageNotFoundError:
python_amr_version = ''
# R package version of AMR
r_amr_version = robjects.r(f'as.character(packageVersion("AMR", lib.loc = "{r_lib_path}"))')[0]
r_amr_version = robjects.r(f'as.character(packageVersion("AMR", lib.loc = "{r_amr_lib_path}"))')
print(python_amr_version)
print(r_amr_version)
# Compare R and Python package versions
if r_amr_version != python_amr_version: