img License

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = ""
)

drake-example

This repo is dormant and will not developed further. With the advent of targets, drake has largely been superceded. Similar examples of targets can be found here: https://docs.ropensci.org/targets/#example-projects.

Install dependencies

remotes::install_deps(dependencies = TRUE, build = FALSE)

The goal of drake-example is to provide a template repo for using the drake package for R workflows. The repo is also tries to utilize R compendiums to manage dependencies and enables the suite package management tools. Here is the current directory of files for this type of project:

File Structures

fs::dir_tree()

Data

Fake data are created and stored in the data-raw directory. Here we are using the starwars data from the dplyr package.

Workflows

Inspiration

This example draws from the following amazing resources:

Getting Help or Reporting an Issue

To report bugs/issues/feature requests, please file an issue.

How to Contribute

If you would like to contribute to the package, please see our CONTRIBUTING guidelines.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

License

Copyright 2019 Province of British Columbia

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


This project was created using the bcgovr package.



bcgov/drake-example documentation built on April 3, 2021, 7 a.m.