Skip to content

Commit e8ab4fb

Browse files
authored
Merge pull request #58 from UoMResearchIT/39-typo-in-units-deg-is-not-a-callable
deg is not callable
2 parents f82b378 + dae58a5 commit e8ab4fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

episodes/06-units_and_quantities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ u.rad.find_equivalent_units()
295295
We can see from this that the degree unit is `u.deg`, so we can use this to define our angles:
296296

297297
```python
298-
angle = 90 * u.deg()
298+
angle = 90 * u.deg
299299
print('angle in degrees: {}; and in radians: {}'.format(angle.value,angle.to(u.rad).value))
300300
```
301301

renv/profiles/lesson-requirements/renv.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@
522522
},
523523
"knitr": {
524524
"Package": "knitr",
525-
"Version": "1.49",
525+
"Version": "1.51",
526526
"Source": "Repository",
527527
"Type": "Package",
528528
"Title": "A General-Purpose Package for Dynamic Report Generation in R",
@@ -808,7 +808,7 @@
808808
},
809809
"rmarkdown": {
810810
"Package": "rmarkdown",
811-
"Version": "2.29",
811+
"Version": "2.31",
812812
"Source": "Repository",
813813
"Type": "Package",
814814
"Title": "Dynamic Documents for R",
@@ -925,7 +925,7 @@
925925
},
926926
"xfun": {
927927
"Package": "xfun",
928-
"Version": "0.51",
928+
"Version": "0.57",
929929
"Source": "Repository",
930930
"Type": "Package",
931931
"Title": "Supporting Functions for Packages Maintained by 'Yihui Xie'",

0 commit comments

Comments
 (0)