Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.0%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: t-kalinowski
  • License: gpl-3.0
  • Language: R
  • Default Branch: main
  • Size: 15.6 KB
Statistics
  • Stars: 6
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 2
Created over 3 years ago · Last pushed about 2 years ago
Metadata Files
Readme Changelog License

README.md

commafree

{commafree} is an R package that provides the "comma-free call" operator: %(%. Use it to call a function with arguments, but without commas separating the arguments. Just replace the ( with %(% in a function call, supply your arguments as standard R expressions enclosed by { } and be free of commas (for that call).

It is especially useful for long multi-line function calls with many arguments, like a shiny UI definition, an R6 class definition, or similar.

%(% merely does a syntax transformation, so that a call like this:

r func %(% { a b c }

is equivalent to writing this:

r func( a, b, c )

Installation

You can install {commafree} like so:

``` r install.packages("commafree")

Install the dev version:

remotes::install_github("t-kalinowski/commafree")

```

Example

``` r library(commafree)

writeLines(c %(% { "I write, erase, rewrite" "Erase again, and then" "A poppy blooms." }) ```

I write, erase, rewrite
Erase again, and then
A poppy blooms.

Haiku by Katsushika Hokusai

Owner

  • Name: Tomasz Kalinowski
  • Login: t-kalinowski
  • Kind: user
  • Company: @posit-pbc

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 648 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
cran.r-project.org: commafree

Call Functions Without Commas Between Arguments

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 648 Last month
Rankings
Forks count: 21.9%
Stargazers count: 26.2%
Dependent packages count: 29.8%
Average: 34.1%
Dependent repos count: 35.5%
Downloads: 57.0%
Maintainers (1)
Last synced: 10 months ago

Dependencies

DESCRIPTION cran