Skip to content

[Query] Project

github-actions[bot] edited this page Nov 12, 2026 · 1 revision

Generated from 'wiki-query.ts' on 2026-11-08, 14:25:27 UTC (v2.17.4), do not edit directly.

Project Query [overview]

Returns information about the analyzed project
This query is requested with the type project.

This query returns the information about the analyzed project. If present, it will incorporate plugins to, e.g., extract author and license information from R package DESCRIPTION files.

[ { "type": "project" } ]

(This can be shortened to @project when used with the REPL command :query).

Results (prettified and summarized):

Query: project (0 ms)
   ╰ Kind: unknown
   ╰ Dataflow not performed (run :df#, then re-run this query, or pass "withDf": true)

Show Detailed Results as Json

The analysis ran (including parsing and normalization and the query) within the generation environment.

The JSON contains the ids of the nodes in question (see the Interface wiki page).

{"project":{".meta":{},"files":[],"roleCounts":{"description":0,"namespace":0,"news":0,"vignette":0,"test":0,"install":0,"data":0,"documentation":0,"license":0,"virtual-env":0,"manifest":0,"startup":0,"environment":0,"source":0,"other":0},"kind":"unknown","dfaPerformed":false},".meta":{}}
Original Code
x + 1
Implementation Details

The Project Query is executed by executeProjectQuery.

Clone this wiki locally

⌂ 换网址