How to create a package in an existing directory using RStudio

I am working on creating a package in RStudio. I already have a project, and I'm using Git for version control. Currently my directory structure

--Project
   --R
   --.git

With the code R in the directory R.

My problem arises when I am going to create a package. I want to call the Project package, and I get the directory structure as follows:

--Project
   --R
   --.git
   --Project
      --man
      --R

R "R". Git, . "R"? "" - , "", .git ?

+7
1

RStudio ( v. 1.0.136) > > . "" " " , , , .

use_description() , .. man R DESCRIPTION, use_description() usethis.

+8

Source: https://habr.com/ru/post/1541668/


All Articles