This is an R HTML document. When you click the Knit HTML button a web page will be generated that includes both content as well as the output of any embedded R code chunks within the document. You can embed an R code chunk like this:
summary(cars)> sbu<- readRDS(file.choose()) > View(sbu) > sbu[["Aging"]] -> Ag > View(Ag) > colnames(Ag)<-c("LP","Nr","Account Name","Typ","Wn_Dr","Ma_Cr","Turnover Dr","Turnover Cr","Saldo_Balance","Current","<30","31_60","61_90","90_180","180_360",">1Y","PD","LGD","EAD") > sbu[["BankAcc"]] -> BA > View(BA) > colnames(BA)<-c("Date","Konto_DR.1.35700.","Konto_CR.1.35700.","Wartosc.1.35700.","Opis.1.35700.") > sbu[["CC_AP"]] -> CA > View(CA) > colnames(CA)<-c("Section","Number","Account name","Class","Typ") Error in names(x) <- value : 'names' attribute [5] must be the same length as the vector [2] > sbu[["ChOA"]] -> CA > View(CA) > colnames(CA)<-c("Section","Number","Account name","Class","Typ") > sbu[["Journal"]] -> jo > View(jo) > colnames(jo)<-c("Date","Konto_DR.1.35700.","Konto_CR.1.35700.","Wartosc.1.35700.","Opis.1.35700.") > sbu[["Kontr"]] -> Co > View(Co) > colnames(Co)<-c("LP","Nr","Name","Typ","Wn_Dr","Ma_Cr","OB._WN_DR","OB._MA_CR","Saldo_Balance") > sbu[["TB"]] -> TB > View(TB) > colnames(TB)<-c("Nr","Class","NR.1","Account name","Class","Subclass","Opening Balance","Debit turnover","Credit turnover","Closing balance") > sbu[["ZPK"]] -> ZPK > View(ZPK) > colnames(ZPK)<-c("Section","Number","Nazwa konta","Account name","Account type") > sbu[["FAR_RST_Final"]] -> FAR > View(FAR) > colnames(FAR)<-c("LP","Date","Name","City","Depreciation rate","Gross value","Acc.depreciation","Depreciation","Sold","Type","NAME") > sbu[["CC_PL"]] -> PL > View(PL) > sbu[["CC_BS"]] -> BS > View(BS) > Question 1 Reconcile the Turnover to the T&E Error: unexpected numeric constant in "Question 1" > Bil<-BS [c(1,3),] > Bil Position Amount at the end of current financial year 1 Total assets 1649313 3 I. Intangible assets 26264 Amount at the end of previous financial year 1 1331735 3 5486 > TBScb<-Bil[2,2]/Bil[1,2] > TBScb [1] 0.01592421 > TBSob<-Bil[2,3]/Bil[1,3] > TBSob [1] 0.004119438 > Tbs<-c(TBScb,TBSob) > Tbs [1] 0.015924206 0.004119438 > Inta<-TB[c(2,6),c(4,7,10)] > Inta Account name Opening Balance Closing balance 2 Wartości niematerialne i prawne 22327.43 19719.66 6 Umorzenie wartości niematerialnych i prawnych 53903.38 65278.17 > NetintaOB<-Inta[1,2]-Inta[2,2] > NetintaOB [1] -31575.95 > NetintaCB<-Inta[1,3]-Inta[2,3] > NetintaCB [1] -45558.51 > Ttbob<-NetintaOB/Bil[1,3] > Ttbob [1] -0.02371038 > Ttbcb<-NetintaCB/Bil[1,2] > Ttbcb [1] -0.02762272 > Ttb<-c(Ttbcb,Ttbob) > Ttb [1] -0.02762272 -0.02371038 > IntanDiff<- Ttb-Tbs > IntanDiff [1] -0.04354692 -0.02782982 > Question 2 Make an analytical review of fixed assets B/O + Increases - Decreases Reclassification BZ for gross and net worth. Analytically check the accrual for the reasonableness of the depreciation charge. Error: unexpected symbol in "Make an" > FixBs<-BS[7,] > View(FixBs) > FixTb<-TB[c(1,5),c(4,7,8,9,10)] > View(FixTb) > FixTbOB<-FixTb[1,2]-FixTb[2,2] > FixTbOB [1] 3829.604 > FixTbCB<-FixTb[1,5]-FixTb[2,5] > FixTbCB [1] 14950.46 > FixDiff<-c(FixTbOB-FixBs[1,3],FixTbCB-FixBs[1,2]) > FixDiff [1] -640895.4 -673582.5 > The fixed assets for the end of the previous year and the end of the current year are as follows: -640,895.4 and -673,582.5. The Gross Value increased from 15,930.52 to 22,894.136.The TB is 7,943.673, which decreased. Error: unexpected symbol in "The fixed" > 3 Check the fixed assets register for arithmetic accuracy Error: unexpected symbol in "3 Check" > Fix03<-FAR[,c(11,2,5,6,7,8)] > View(Fix03) > Fix03$Dep<-Fix03$`Depreciation rate`*Fix03$`Gross value` > Fix03$DepDiff<-Fix03$Dep-Fix03$Depreciation > sum_depDiff<-sum(Fix03$DepDiff) > sum_depDiff [1] 0 > Fix03$ClosingDate<-as.Date("2023-04-30") > Fix03$Date<-as.Date(Fix03$Date) > library(lubridate) Error in library(lubridate) : there is no package called ‘lubridate’ > Fix03$MonthDiff<-interval(Fix03$Date,Fix03$ClosingDate)%/% months(1) Error in interval(Fix03$Date, Fix03$ClosingDate) : could not find function "interval" > 4 lnvalidate the provision for receivables. Prospective and retrospective Error: unexpected symbol in "4 lnvalidate" > Ag_subset<-Ag[Ag$Typ=="Odbiorca",] > View(Ag_subset) > Ag_subset$Provision<-rowSums(Ag_subset[,11:16]) > sumPro<-sum(Ag_subset$Provision) > sumPro [1] 12474179 > Ag_subset$EL<-Ag_subset$PD*Ag_subset$LGD*Ag_subset$EAD > sumEL<-sum(Ag_subset$EL + ) > sumEL [1] 188186.3 > ProTB<-TB[36,] > View(ProTB) > Diff_1<-sumPro-ProTB[1,10] > Diff_1 [1] 12439568 > Diff_2<-sumEL-ProTB[1,10] > Diff_2 [1] 153575.9 > 3 Check the fixed assets register for arithmetic accuracy Error: unexpected symbol in "3 Check" > the second part of Question 3 Error: unexpected symbol in "the second" > Fix03$ClosingDate<-as.Date("2023-04-30") > Fix03$Date<-as.Date(Fix03$Date) > install.packages("lubridate") Installing package into ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.3’ (as ‘lib’ is unspecified) also installing the dependencies ‘cpp11’, ‘generics’, ‘timechange’ trying URL 'http://rspm/default/__linux__/focal/latest/src/contrib/cpp11_0.4.7.tar.gz' Content type 'application/x-gzip' length 280219 bytes (273 KB) ================================================== downloaded 273 KB trying URL 'http://rspm/default/__linux__/focal/latest/src/contrib/generics_0.1.3.tar.gz' Content type 'application/x-gzip' length 75900 bytes (74 KB) ================================================== downloaded 74 KB trying URL 'http://rspm/default/__linux__/focal/latest/src/contrib/timechange_0.2.0.tar.gz' Content type 'application/x-gzip' length 196690 bytes (192 KB) ================================================== downloaded 192 KB trying URL 'http://rspm/default/__linux__/focal/latest/src/contrib/lubridate_1.9.3.tar.gz' Content type 'application/x-gzip' length 979787 bytes (956 KB) ================================================== downloaded 956 KB * installing *binary* package ‘cpp11’ ... * DONE (cpp11) * installing *binary* package ‘generics’ ... * DONE (generics) * installing *binary* package ‘timechange’ ... * DONE (timechange) * installing *binary* package ‘lubridate’ ... * DONE (lubridate) The downloaded source packages are in ‘/tmp/RtmpcpOKPm/downloaded_packages’ > library(lubridate) Attaching package: ‘lubridate’ The following objects are masked from ‘package:base’: date, intersect, setdiff, union > Fix03$MonthDiff<-interval(Fix03$Date,Fix03$ClosingDate)%/% months(1) > Fix03$Acc.dep<-(Fix03$Dep/12)*Fix03$MonthDiff > Fix03$Acc.dep<-ifelse(Fix03$Acc.dep>Fix03$`Gross value`,Fix03$`Gross value`,Fix03$Acc.dep) > Fix03$Acc.depDiff<-(Fix03$Acc.dep-Fix03$Acc.depreciation) > sum_Acc.depDiff<-sum(Fix03$Acc.depDiff) > sum_Acc.depDiff [1] -1309377 > 6:Reconcile the equity position to the KRS extract Error: unexpected symbol in "6:Reconcile the" > EquTB<-TB[c(99,100,101,102,109,110,111),c(4,7,10)] > View(EquTB) > EquTBOB<-EquTB[1,2]+EquTB[2,2]+EquTB[3,2]+EquTB[4,2]+EquTB[5,2]-EquTB[6,2]-EquTB[7,2] > EquTBOB [1] 106372.1 > EquTBCB<-EquTB[1,3]+EquTB[2,3]+EquTB[3,3]+EquTB[4,3]+EquTB[5,3]-EquTB[6,3]-EquTB[7,3] > EquTBCB [1] 102675.1 > Equ_01<-c(EquTBOB,EquTBCB) > View(Equ_01) > EquBS<-BS[50,] > View(EquBS) > EquDiff<-c(EquTBOB-EquBS[1,3],EquTBCB-EquBS[1,2]) > EquDiff [1] -538014.9 -553514.9 > These numbers show the end of previous financial year and at the end of current financial year Error: unexpected symbol in "These numbers" > 7 Take a sample of fixed assets and check the calculation of depreciation Error: unexpected symbol in "7 Take" > sample(c(1:113),10,replace = FALSE) [1] 81 72 23 103 61 59 112 18 113 19 > Fix07<-FAR[c(77,109,111,80,99,49,75,42,89,59),c(11,2,5,6,7,8,9)] > View(Fix07) > Fix07$Closingdate<-as.Date("2023-04-30") > Fix07$Date<-as.Date(Fix07$Date) > library(lubridate) > Fix07$MonthDiff <- interval( Fix07$Date,Fix07$Closingdate)%/% months(1) > print(Fix07) NAME 77 Trucks 109 Play Station 3 + 4pcs pads + a set of games (about 20pcs). 111 HP Laser Jet Pro MFP M28W multifunction machine 80 KIA K2700 year of production 2001 VIN: KNESD01122K755241 99 Laptop ACER ASPIRE A515-51G-37US 49 PLASTMET cooker hood 75 FIAT DOBLO 42 Painting abstract Jaroslaw Zerko 89 CNH INTERNATIONAL NEW HOLLAND TL90A agricultural tractor VIN: HJS077861 year of manufacture 2006 59 CAS scale model: ER Date Depreciation rate Gross value Acc.depreciation Depreciation Sold 77 1921-07-07 0.20 17500.0 12325.66434 3500.00 0 109 2022-11-07 0.30 300.0 161.87758 90.00 0 111 2022-11-07 0.30 187.5 32.29329 56.25 0 80 1917-07-07 0.20 13500.0 8475.01779 2700.00 0 99 2022-11-07 0.30 675.0 78.69210 202.50 0 49 1958-11-07 0.12 600.0 429.39253 72.00 0 75 1924-03-07 0.20 11000.0 4294.58359 2200.00 0 42 1968-03-07 0.00 1500.0 430.66672 0.00 0 89 1905-07-07 0.20 54150.0 28626.65036 10830.00 0 59 1945-07-07 0.12 112.5 95.62498 13.50 0 Closingdate MonthDiff 77 2023-04-30 1221 109 2023-04-30 5 111 2023-04-30 5 80 2023-04-30 1269 99 2023-04-30 5 49 2023-04-30 773 75 2023-04-30 1189 42 2023-04-30 661 89 2023-04-30 1413 59 2023-04-30 933 > Fix07$Dep<-Fix07$`Depreciation rate`*Fix07$`Gross value` > Fix07$DepDiff<-Fix07$Dep-Fix07$Depreciation > sum_DepDiff<-sum(Fix07$DepDiff) > sum_DepDiff [1] 0 > Fix07$Acc.dep<-(Fix07$Dep/12)*Fix07$MonthDiff > Fix07$Acc.dep<-ifelse(Fix07$Acc.dep>Fix07$`Gross value`,Fix07$`Gross value`,Fix07$Acc.dep) > Fix07$Acc.depDiff<-(Fix07$Acc.dep-Fix07$Acc.depreciation) > sum_Acc.depDiff<-sum(Fix07$Acc.depDiff) > sum_Acc.depDiff [1] 42057.35 >Question 8 > jo_subset<-jo[jo$Opis.1.35700.=="Kredyty bankowe d??ugoterminowe",] > View(jo_subset) > jo_subset_2<-jo[jo$Opis.1.35700.=="Kredyty bankowe kr??tkoterminowe",] > View(jo_subset_2) > View(jo_subset_2) > View(jo_subset) > BA_subset<-BA[BA$Opis.1.35700.=="Kredyty bankowe d??ugoterminowe",] > View(BA_subset) > BA_subset_2<-BA[BA$Opis.1.35700.=="Kredyty bankowe kr??tkoterminowe",] > View(BA_subset_2) >Question 9 -Check the reserve account balance at the beginning of the period and compare it with the previous period's financial statements. -By selecting a transaction sample and comparing it with supporting documents, you can check the accuracy of the revenue amount. -Consider any changes or significant events that may affect reserve requirements. -Check the expiration dates of reserve balances and ensure they are classified based on the specified time periods -Review the PD (Probability of Default), LGD (Loss of Default), and EAD (Exposure to Default) calculations -Compare your results to historical data or industry benchmarks. -Check the accuracy of the calculations. -Make recommendations on changes or improvements to the reserve accounting and reporting process. -Get management feedback on findings and recommendations, then review planned actions. >Question 10:-Understand the purpose of the audit and review the accounts and columns presented. -Identify key audit areas. Based on your risk and materiality assessment, determine which accounts or areas need auditing. -Create specific audit methods to collect evidence and test selected accounts. -Perform audit procedures created for each account. Document your findings, as well as any exceptions or problems that arise during the process. -Examine the results of audit procedures to determine if there are any significant errors, irregularities, or problems. All results must be recorded and discussed with appropriate stakeholders. -After summarizing the audit findings, including any identified risks and issues, make recommendations for improvements. Notify management or other appropriate parties.
## Error: <text>:2:1: unexpected '>' ## 1: summary(cars)> sbu<- readRDS(file.choose()) ## 2: > ## ^
You can also embed plots, for example:
plot(cars)