Skip to content

metapost

Interface to 'MetaPost'

v1.0-6 · Jun 24, 2019 · GPL (>= 2)

Description

Provides an interface to 'MetaPost' (Hobby, 1998) <http://www.tug.org/docs/metapost/mpman.pdf>. There are functions to generate an R description of a 'MetaPost' curve, functions to generate 'MetaPost' code from an R description, functions to process 'MetaPost' code, and functions to read solved 'MetaPost' paths back into R.

Downloads

144

Last 30 days

21817th

144

Last 90 days

144

Last year

CRAN Check Status

1 ERROR
2 NOTE
11 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 ERROR
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 (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Paul Murrell <paul@stat.auckland.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Paul",
                    family = "Murrell",
                    role = c("aut", "cre"),
                    email = "paul@stat.auckland.ac.nz")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Paul Murrell <paul@stat.auckland.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Paul",
                    family = "Murrell",
                    role = c("aut", "cre"),
                    email = "paul@stat.auckland.ac.nz")
as necessary.
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
ERROR r-devel-macos-arm64

tests

  Running ‘mpost.R’ [0s/1s]
Running the tests in ‘tests/mpost.R’ failed.
Complete output:
  > 
  > library(metapost)
  
  Attaching package: 'metapost'
  
  The following object is masked from 'package:stats':
  
      cycle
  
  The following object is masked from 'package:base':
  
      dir
  
  > library(grid)
  > p <- knot(0, 0) + dir(45) + dir(0:9*-10) + knot(unit(6, "cm"), 0)
  > metapost(p, "fig.mp")
  > mpost("fig.mp", tracing=TRUE)
  This is MetaPost, version 2.11 (TeX Live 2025) (kpathsea version 6.4.1)
  (/opt/TinyTeX/texmf-dist/metapost/base/mpost.mp (/opt/TinyTeX/texmf-dist/metapost/base/plain.mp
  Preloading the plain mem file, version 1.005) ) (./fig.mp [1] )
  (see the transcript file for additional information)
  1 output file written: fig.1
  Transcript written on fig.log.
  > 
  > controls <- mptrace("fig.log")
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  Read 8 items
  > 
  > library(grImport)
  Loading required package: XML
  > PostScriptTrace("fig.1")
  sh: gs: command not found
  Error in PostScriptTrace("fig.1") : sorry, 'gs' cannot be found
  In addition: Warning message:
  In system(paste(shQuote(gsexe), "-help > /dev/null")) :
    error in running command
  Execution halted
OK 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

*


            

Check History

ERROR 11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Paul Murrell <paul@stat.auckland.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Paul",
                    family = "Murrell",
                    role = c("aut", "cre"),
                    email = "paul@stat.auckland.ac.nz")
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Paul Murrell <paul@stat.auckland.ac.nz>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: person(given = "Paul",
                    family = "Murrell",
                    role = c("aut", "cre"),
                    email = "paul@stat.auckland.ac.nz")
as necessary.
ERROR r-devel-macos-arm64

tests

  Running ‘mpost.R’ [0s/1s]
Running the tests in ‘tests/mpost.R’ failed.
Complete output:
  > 
  > library(metapost)
  
  Attaching package: 'metapost'
  
  The following object is masked from 'package:stats':
  
      cycle
  
  The following object is masked from 'package:base':
  
      dir
  
  > library(grid)
  > p <- knot(0, 0) + dir(45) + dir(0:9*-10) + knot(unit(6, "cm"), 0)
  > metapost(p, "fig.mp")
  > mpost("fig.mp", tracing=TRUE)
  This is MetaPost, version 2.11 (TeX Live 2025) (kpat

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies gridBezier gdiff metapost

Version History

new 1.0-6 Mar 10, 2026