I am working with roxygen2 library and devtools. Building a package with the following structure:
- Inside /data folder I have two .rda files with the information of each dataset. Let's call them data1.rdaanddata2.rda.
- Inside /R folder I have two files, one with the functions created (and their explanation) and another one called data.R with the information of each dataset. - #' Description 1 #' #' Simple definition #' #' @format The \code{data.frame} contains 2 variables: #' \describe{ #' \item{a}{The first variable.} #' \item{b}{The second variable.} #' } "data1"
When I run roxygen2::roxygenize() I get this message:
First time using roxygen2. Upgrading automatically... Error in get(name, envir = env) : object 'data1' not found.
I have looked for similar questions, without an answer for this problem. Anyone has a suggestion?
 
     
     
    