{"id":13859146,"url":"https://github.com/eddelbuettel/pinp","last_synced_at":"2025-10-11T01:05:10.184Z","repository":{"id":89518962,"uuid":"102218144","full_name":"eddelbuettel/pinp","owner":"eddelbuettel","description":"Pinp Is Not PNAS -- Two-Column PDF Template","archived":false,"fork":false,"pushed_at":"2025-02-10T21:53:14.000Z","size":6210,"stargazers_count":153,"open_issues_count":1,"forks_count":24,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-10-03T13:59:07.549Z","etag":null,"topics":["cran","markdown","r-package","vignette"],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-09-02T19:13:34.000Z","updated_at":"2025-08-17T00:13:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"d61c6391-2faf-43d4-a7cb-93b1cb6fa9b5","html_url":"https://github.com/eddelbuettel/pinp","commit_stats":{"total_commits":145,"total_committers":7,"mean_commits":"20.714285714285715","dds":"0.22758620689655173","last_synced_commit":"9319e9ad5a36fda4701586e69598a7ff91bd0fdd"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/eddelbuettel/pinp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fpinp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fpinp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fpinp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fpinp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/pinp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fpinp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005909,"owners_count":26083982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","markdown","r-package","vignette"],"created_at":"2024-08-05T03:02:34.357Z","updated_at":"2025-10-11T01:05:10.160Z","avatar_url":"https://github.com/eddelbuettel.png","language":"TeX","funding_links":[],"categories":["TeX"],"sub_categories":[],"readme":"## pinp: Pinp is not PNAS\n\n[![CI](https://github.com/eddelbuettel/pinp/workflows/ci/badge.svg)](https://github.com/eddelbuettel/pinp/actions?query=workflow%3Aci)\n[![Package-License](https://img.shields.io/badge/license-GPL--3-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-3.0.html) \n[![CRAN](https://www.r-pkg.org/badges/version/pinp)](https://cran.r-project.org/package=pinp) \n[![Dependencies](https://tinyverse.netlify.app/badge/pinp)](https://cran.r-project.org/package=pinp) \n[![Downloads](https://cranlogs.r-pkg.org/badges/pinp?color=brightgreen)](https://www.r-pkg.org/pkg/pinp)\n[![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/pinp)](https://github.com/eddelbuettel/pinp)\n\n### Motivation\n\nThe template provided by the PNAS Article template in the\n[rticles](https://cran.r-project.org/package=rticles) package makes it very easy\nand convenient to create attractive looking two-column papers with an option\nto switch to a one-column paper.\n\nThere were however a few changes we wanted to make such as the use of standard natbib citations,\nmore extended use of color, a different font as well as the removal of a number of PNAS-specific\ntitle page items as well as general code and use simplification via a single LaTeX class file.  So\nthis _pinp_ package started.\n\n### Example\n\n#### Pinp Vignette\n\nAs of release 0.0.2, the package now has a vignette:\n\n![](https://eddelbuettel.github.io/pinp/pinp-vignette.png)\n\n#### Rcpp Vignette\n\nA complete pdf example of the two-column default template is\nprovided [here](https://eddelbuettel.github.io/pinp/Rcpp-introduction.pdf)\nby the new introductory [Rcpp](https://dirk.eddelbuettel.com/code/rcpp.html) vignette, which is\nitself based on our [PeerJ Prepint](https://peerj.com/preprints/3188/).\n\nA screenshot of the first two pages:\n\n![](https://eddelbuettel.github.io/pinp/Rcpp-introduction-p1+2.png)\n\nand the next two pages, showing a two-column figure\n\n![](https://eddelbuettel.github.io/pinp/Rcpp-introduction-p3+4.png)\n\nfollowed by pages five and six\n\n![](https://eddelbuettel.github.io/pinp/Rcpp-introduction-p5+6.png)\n\nand the final two pages:\n\n![](https://eddelbuettel.github.io/pinp/Rcpp-introduction-p7+8.png)\n\nOther Rcpp vignettes have been converted as well.\n\n### Status\n\nThe package is working as expected, and available via [CRAN](https://cran.r-project.org/).\n\n### Usage \n\nUse the standard \n\n```r\ninstall.packages(\"pinp\")\n```\n\nto install it from CRAN, and then use as a Markdown template via RStudio, or use code such as\n\n```r\nlibrary(rmarkdown)\ndraft(\"mypaper.Rmd\", template=\"pdf\", package=\"pinp\", edit=FALSE)\nrender(\"mypaper.Rmd\")\n```\n\nto create a first draft of a new `mypaper.Rmd`.\n\n### Requirements\n\nBeyond the R package dependencies, a working `pandoc` binary is needed. RStudio installs\nits own copy, otherwise do what is needed on your OS (_i.e._, something like `sudo apt-get\ninstall pandoc pandoc-citeproc`).\n\nThe pdf mode requires a fairly complete LaTeX installation, and has been used on Ubuntu and macOS.\nOn Debian/Ubuntu, the following packages should provide a working set:\n\n```\ntexlive-base\ntexlive-binaries\ntexlive-fonts-extra\ntexlive-fonts-recommended\ntexlive-generic-recommended\ntexlive-humanities\ntexlive-latex-base\ntexlive-latex-extra\ntexlive-latex-recommended\ntexlive-pictures\ntexlive-publishers\ntexlive-science\n```\n\n### See also\n\n- [binb](https://github.com/eddelbuettel/binb): Binb is not Beamer: Stylish pdf Presentations from RMarkdown\n- [linl](https://github.com/eddelbuettel/linl): Linl is not Letter: LaTeX letters from RMarkdown\n- [tint](https://github.com/eddelbuettel/tint): tint is not tufte: Beautiful pdf or html handout or writeups\n\nand the [minm](https://github.com/eddelbuettel/minm) package installing all of them.\n\n### Authors\n\nDirk Eddelbuettel and James Balamuta, leaning on the earlier work by JJ et al in the \n[rticles](https://cran.r-project.org/package=rticles) package.\n\nThe authors of the underlying PNAS LaTeX Style are not explicitedly listed,\nbut PNAS refers to [Overleaf](https://www.overleaf.com/).\n\n### License\n\nGPL-3 for this package, as well as the short code taken with grateful acknowledgements from the\n[rticles](https://cran.r-project.org/package=rticles) package.\n\nThe main PNAS LaTeX style file (and supporting files) are under the\n[LPPL (LaTeX Project Public License) version 1.3 or later](https://www.latex-project.org/lppl/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fpinp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Fpinp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fpinp/lists"}