Skip to content

pysd2r

API to 'Python' Library 'pysd'

v0.1.0 · Sep 3, 2018 · MIT + file LICENSE

Description

Using the R package 'reticulate', this package creates an interface to the 'pysd' toolset. The package provides an R interface to a number of 'pysd' functions, and can read files in 'Vensim' 'mdl' format, and 'xmile' format. The resulting simulations are returned as a 'tibble', and from that the results can be processed using 'dplyr' and 'ggplot2'. The package has been tested using 'python3'.

Downloads

CRAN

248

Last 30 days

19996th

589

Last 90 days

2.6K

Last year

Trend: +98.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

85

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

13

Last 7 days

29

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘knitr’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘knitr’
  All declared Imports should be used.

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-fedora-clang

dependencies in R code

Namespace in Imports field not imported from: ‘knitr’
  All declared Imports should be used.
NOTE r-devel-linux-x86_64-fedora-gcc

dependencies in R code

Namespace in Imports field not imported from: ‘knitr’
  All declared Imports should be used.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

928

Files

34

Compiled share

0%

Has compiled src

No

Language breakdown

R 449 (48.4%)Tests 54 (5.8%)Docs 335 (36.1%)Vignettes 90 (9.7%)

API

Exported functions

12

Internal functions

15

Recent export changes

v0.1.0+12 get_doc, get_final_time, get_initial_time +9 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.12

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

83.3%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.3

System requirements

1

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2018-09-03

Latest release

2018-09-03

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies knitr reticulate tibble pysd2r

Version History

1 tracked
new 0.1.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Sep 3, 2018. Releases before tracking aren’t shown.