github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/syft/pkg/r.go (about)

     1  package pkg
     2  
     3  type RDescription struct {
     4  	/*
     5  		Fields chosen by:
     6  			docker run --rm -it rocker/r-ver bash
     7  			$ install2.r ggplot2 # has a lot of dependencies
     8  			$ find /usr/local/lib/R -name DESCRIPTION | xargs cat | grep -v '^\s' | cut -d ':' -f 1 | sort | uniq -c | sort -nr
     9  
    10  		For more information on the DESCRIPTION file see https://r-pkgs.org/description.html
    11  	*/
    12  	Title            string   `json:"title,omitempty"`
    13  	Description      string   `json:"description,omitempty"`
    14  	Author           string   `json:"author,omitempty"`
    15  	Maintainer       string   `json:"maintainer,omitempty"`
    16  	URL              []string `json:"url,omitempty"`
    17  	Repository       string   `json:"repository,omitempty"`
    18  	Built            string   `json:"built,omitempty"`
    19  	NeedsCompilation bool     `json:"needsCompilation,omitempty"`
    20  	Imports          []string `json:"imports,omitempty"`
    21  	Depends          []string `json:"depends,omitempty"`
    22  	Suggests         []string `json:"suggests,omitempty"`
    23  }