Skip to content

Commit

Permalink
fix another README example
Browse files Browse the repository at this point in the history
  • Loading branch information
robertzk committed Mar 1, 2015
1 parent 064a944 commit 9c74773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ To accomplish this, we can instead use `super`:

```r
source <- function(file, ...) {
if (file %in% otherpackage::has_cached(file, ...)) { otherpackage::cache(file, ...) }
if (otherpackage::has_cached(file, ...)) { otherpackage::cache(file, ...) }
else { super::super(file, ...) }
}
```
Expand Down

0 comments on commit 9c74773

Please sign in to comment.